Difference between revisions of "Team:NTNU Trondheim/Style"

Line 4: Line 4:
 
#home_logo, #sideMenu { display:none; }
 
#home_logo, #sideMenu { display:none; }
 
#sideMenu, #top_title, .patrollink  {display:none;}
 
#sideMenu, #top_title, .patrollink  {display:none;}
#content { margin-left:0px; margin-top:-30px; padding:0px; width:100%;}
+
#content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
 
body {background-color:white; }
 
body {background-color:white; }
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
Line 15: Line 15:
  
 
.navbar {
 
.navbar {
    padding-top: 50px;
 
 
     list-style-type: none;
 
     list-style-type: none;
 
     margin: 0;
 
     margin: 0;
Line 23: Line 22:
 
     color: #FFFFFF;
 
     color: #FFFFFF;
 
     text-decoration: none;
 
     text-decoration: none;
    font-size: 14px;
 
 
}
 
}
  
a { color: inherit; }
+
a, .navbar {
 +
    color: inherit;
 +
}
  
 
a:visited { color: white }
 
a:visited { color: white }
  
  
.menu_item {
+
.menu_option {
 
     float: left;
 
     float: left;
 +
}
 +
 +
.no-icon {
 +
    padding-top: 3px;
 
}
 
}
  
Line 40: Line 44:
 
     text-align: center;
 
     text-align: center;
 
     padding: 14px 16px;
 
     padding: 14px 16px;
     text-decoration: none !important;
+
     text-decoration: none;
    text-font: 1vw;
+
 
}
 
}
  
Line 78: Line 81:
 
}
 
}
  
.dropdown-content a:hover {
+
.dropdown-content a:hover {background-color: #f1f1f1}
    background-color: #f1f1f1;
+
    text-decoration: none;
+
}
+
  
 
.dropdown:hover .dropdown-content {
 
.dropdown:hover .dropdown-content {
Line 88: Line 88:
  
 
html {
 
html {
   padding: 0px;
+
   padding: 40px;
 
   background: #ecf0f1;
 
   background: #ecf0f1;
 +
}
 +
 +
h1 {
 +
  color: #2c3e50;
 +
  text-transform: uppercase;
 +
  text-align: center;
 +
  font-size: 14px;
 +
  line-height: 21px;
 +
  letter-spacing: 10px;
 +
  margin: 48px auto 0;
 +
}
 +
 +
h1 + p {
 +
  font-size: 14px;
 +
  font-family: serif;
 +
  font-style: italic;
 +
  color: #b5bfc1;
 +
  text-align: center;
 +
  border-top: 1px dotted #ccc;
 +
  width: 360px;
 +
  padding: 12px;
 +
  margin: 12px auto 48px;
 
}
 
}
  
Line 96: Line 118:
 
     height: auto;
 
     height: auto;
 
}
 
}
 
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 12:27, 3 July 2018