Difference between revisions of "Team:Utrecht/css/styling"

Line 6: Line 6:
 
         width : 100%;
 
         width : 100%;
 
         margin: auto;
 
         margin: auto;
padding-left: 10;
 
 
background: none;
 
background: none;
 
}
 
}
Line 17: Line 16:
 
color:Black;
 
color:Black;
 
background-color:#C2B2B2;
 
background-color:#C2B2B2;
         width = auto;
+
         padding-left: 10;
 +
}
  
 +
img{
 +
        padding-left: 10;
 
}
 
}
  
Line 28: Line 30:
 
article{
 
article{
 
         background-color:#C2B2B2;
 
         background-color:#C2B2B2;
 +
        padding-left: 10;
 
}
 
}
  

Revision as of 14:14, 1 June 2018

ul { list-style-image: none; }

  1. content {
       width : 100%;
       margin: auto;

background: none; }

  1. top_title {

display: none; }

  1. intro {

color:Black; background-color:#C2B2B2;

       padding-left: 10;

}

img{

       padding-left: 10;

}

body{ background-color: #333; }


article{

       background-color:#C2B2B2;
       padding-left: 10;

}

#thumbnail {
display: block;
width: 150px;
height: 150px;
}

#thumbnail:hover + #title {
display: block;
}

#title {
display: none;
color: #ffffff;
background-color: #000000;
text-align: center;
width: 130px;
padding: 10px;
}


.topnav {

 overflow: hidden;
 background-color: #333;

}

.topnav a {

 float: left;
 color: #f2f2f2;
 text-align: center;
 padding: 14px 16px;
 text-decoration: none;
 font-size: 17px;

}

.topnav a:hover {

 background-color: #ddd;
 color: black;

}

.topnav a.active {

 background-color: #ff0000;
 color: white;

}