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

(Undo revision 46047 by Anjarfr (talk))
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:-7px; padding:0px; width:100%;}
+
#content { margin-left:0px; margin-top:-30px; 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 22: Line 23:
 
     color: #FFFFFF;
 
     color: #FFFFFF;
 
     text-decoration: none;
 
     text-decoration: none;
 +
    font-size: 14px;
 
}
 
}
  
a, .navbar {
+
a { color: inherit; }
    color: inherit;
+
}
+
  
 
a:visited { color: white }
 
a:visited { color: white }
  
  
.menu_option {
+
.menu_item {
 
     float: left;
 
     float: left;
}
 
 
.no-icon {
 
    padding-top: 3px;
 
 
}
 
}
  
Line 44: Line 40:
 
     text-align: center;
 
     text-align: center;
 
     padding: 14px 16px;
 
     padding: 14px 16px;
     text-decoration: none;
+
     text-decoration: none !important;
 +
    text-font: 1vw;
 
}
 
}
  
Line 81: Line 78:
 
}
 
}
  
.dropdown-content a:hover {background-color: #f1f1f1}
+
.dropdown-content a:hover {
 +
    background-color: #f1f1f1;
 +
    text-decoration: none;
 +
}
  
 
.dropdown:hover .dropdown-content {
 
.dropdown:hover .dropdown-content {
Line 88: Line 88:
  
 
html {
 
html {
   padding: 40px;
+
   padding: 0px;
 
   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 118: Line 96:
 
     height: auto;
 
     height: auto;
 
}
 
}
 +
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 12:34, 3 July 2018