Difference between revisions of "Template:Lund/CSS"

Line 69: Line 69:
  
 
body {
 
body {
 +
  height: 100%;
 +
  width: 100%;
 
   margin: 0;
 
   margin: 0;
 
   padding: 0;
 
   padding: 0;
Line 79: Line 81:
  
 
/******************** HEADER ********************/
 
/******************** HEADER ********************/
/* Header navigation */
+
 
 
header {
 
header {
 
   background: linear-gradient(to bottom right, #4C63AE, #88FFFF);
 
   background: linear-gradient(to bottom right, #4C63AE, #88FFFF);
 
   background-attachment: fixed;
 
   background-attachment: fixed;
 +
  height: 200px;
 
}
 
}
 
+
/* Navigation */
 
#nav-wrapper {
 
#nav-wrapper {
 
   width: 1200px;
 
   width: 1200px;
Line 125: Line 128:
 
.header-content {
 
.header-content {
 
   margin: 0 auto;
 
   margin: 0 auto;
   padding: 100px;
+
   padding: 150px;
 
   text-align: center;
 
   text-align: center;
 
}
 
}
Line 155: Line 158:
 
   width: 100%;
 
   width: 100%;
 
   background-color: #fff;
 
   background-color: #fff;
   font-size: 18px;
+
   font-size: 20px;
 
}
 
}
  
Line 166: Line 169:
 
.references {
 
.references {
 
   border-left: 1px solid #4C63AE;
 
   border-left: 1px solid #4C63AE;
   padding-left: 15px;
+
   padding: 20px 20px 20px 30px;
 +
  background-color: #f7f7f7;
 
   font-size: 14px;
 
   font-size: 14px;
 
}
 
}
Line 175: Line 179:
  
 
/******************** FOOTER ********************/
 
/******************** FOOTER ********************/
#footer-wrapper {
 
  width: 1200px;
 
  margin: 0 auto;
 
}
 
 
footer {
 
  display: block;
 
  width: 100%;
 
  background-color: #222;
 
  color: #fff;
 
}
 
 
footer p {
 
  margin: 0;
 
  padding: 20px;
 
}
 
 
 
/* Sponsors */
 
/* Sponsors */
 
.sponsors {
 
.sponsors {
Line 206: Line 193:
 
}
 
}
  
</style>
+
/* Footer */
 
+
footer {
<!-- NEW CSS -->
+
  display: block;
<style>
+
  width: 100%;
 
+
  background-color: #222;
.hejsvejs {
+
  color: #fff;
    background-color: black;
+
 
}
 
}
  
body {
+
#footer-wrapper {
    height: 100%;
+
  width: 1200px;
    width: 100%;
+
  margin: 0 auto;
    margin: 0;
+
    padding: 0;
+
    background: linear-gradient(to bottom right, #4C63AE, #88FFFF);
+
    background-attachment: fixed;
+
    font-family: 'Source Sans Pro', sans-serif;
+
  }
+
 
+
  p {
+
    color: #777;
+
  }
+
 
+
  /******************** HEADER ********************/
+
  /* Navigation */
+
header {
+
    height: 700px;
+
    width: 100%;
+
 
}
 
}
  
  #nav-wrapper {
+
footer p {
    width: 1200px;
+
   margin: 0;
    margin: 0 auto;
+
   padding: 20px;
  }
+
}
 
+
  nav {
+
    width: 100%;
+
  }
+
 
+
  nav a {
+
    display: inline-block;
+
    padding: 15px;
+
    color: rgba(255, 255, 255, 0.60);
+
    text-decoration: none;
+
    -webkit-transition: all 0.1s;
+
    -moz-transition: all 0.1s;
+
    -o-transition: all 0.1s;
+
    transition: all 0.1s;
+
  }
+
 
+
  nav a:hover {
+
    color: #fff;
+
  }
+
 
+
  nav img {
+
    width: 100px;
+
  }
+
 
+
  a.nav-active {
+
    border-bottom: 1px solid #fff;
+
    color: #fff;
+
  }
+
 
+
  .navbar-links {
+
    float: right;
+
  }
+
 
+
  /* Header image */
+
  .header-content {
+
    margin: 0 auto;
+
    padding: 150px;
+
    text-align: center;
+
  }
+
 
+
  .header-content img {
+
    height: 500px;
+
  }
+
 
+
  /* Bottom to content */
+
  .scroll-to-content {
+
    display: block;
+
    margin: 0 auto;
+
    text-align: center;
+
  }
+
 
+
  .scroll-to-content a {
+
    color: rgba(255, 255, 255, 0.60);
+
    font-size: 60px;
+
  }
+
 
+
  .scroll-to-content a:hover {
+
    color: #fff;
+
  }
+
 
+
  /******************** CONTENT ********************/
+
  /* Page content */
+
  .page-content {
+
    padding: 100px 0;
+
    width: 100%;
+
    background-color: #fff;
+
    font-size: 20px;
+
  }
+
 
+
  .home-wrapper {
+
    width: 1200px;
+
    margin: 0 auto;
+
  }
+
 
+
  /* References */
+
  .references {
+
    border-left: 1px solid #4C63AE;
+
    padding: 20px 20px 20px 30px;
+
    background-color: #f7f7f7;
+
    font-size: 14px;
+
  }
+
 
+
  .references p {
+
    margin: 0.5em;
+
   }
+
 
+
  /******************** FOOTER ********************/
+
  /* Sponsors */
+
  .sponsors {
+
    margin: 0 auto;
+
    padding: 50px;
+
    background-color: #333;
+
    text-align: center;
+
   }
+
 
+
  .sponsors img {
+
    display: inline-block;
+
    margin: 0 50px;
+
    vertical-align: middle;
+
  }
+
 
+
  /* Footer */
+
  footer {
+
    display: block;
+
    width: 100%;
+
    background-color: #222;
+
    color: #fff;
+
  }
+
 
+
  #footer-wrapper {
+
    width: 1200px;
+
    margin: 0 auto;
+
  }
+
 
+
  footer p {
+
    margin: 0;
+
    padding: 20px;
+
  }
+
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 19:22, 26 September 2018