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

Line 18: Line 18:
 
background-color:#C2B2B2;
 
background-color:#C2B2B2;
 
         margin: 0px;
 
         margin: 0px;
 +
        padding: 10px;
 
}
 
}
  

Revision as of 14:22, 1 June 2018

ul { list-style-image: none; }

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

background: none;

       padding: 0;

}

  1. top_title {

display: none; }

  1. intro {

color:Black; background-color:#C2B2B2;

       margin: 0px;
       padding: 10px;

}

img{

       margin: 0px;

}

body{ background-color: #333;

       padding: 0;
       margin: 0;

}


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;

}