Cynamonster (Talk | contribs) |
Cynamonster (Talk | contribs) |
||
| Line 125: | Line 125: | ||
/* Showcase */ | /* Showcase */ | ||
#showcase { | #showcase { | ||
| − | background: url('https://2019.igem.org/ | + | background: url('https://2019.igem.org/wiki/images/3/3d/T--FSU--wiki_background.jpeg') no-repeat center center/cover; |
height: 600px; | height: 600px; | ||
} | } | ||
Revision as of 17:35, 19 June 2019
/* Reset */
- {
margin: 0; padding: 0; box-sizing: border-box;
}
/* Main Styling */ html,body {
font-family: "Segoe UI", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.7em;
}
a {
color: #333; text-decoration: none;
}
h1, h2, h3 {
padding-bottom: 20px;
}
p{
margin: 0; font-size: larger; padding-bottom: 10px;
}
/* Utilities Classes */ .container {
margin: auto; max-width: 1100px; overflow: auto; padding: 0 20px;
}
.text-primary {
color: #f7c08a;
}
.text-secondary {
color: #fff;
}
.lead {
font-size: 20px;
}
.btn {
display: inline-block; font-size: 18px; color: #fff; background: #333; padding: 13px 20px; border: none; cursor: pointer;
}
.btn:hover {
background: #f7c08a; color: #333;
}
.btn-light {
background: #f4f4f4; color: #333;
}
.bg-dark {
background: #333; color: #fff;
}
.bg-light {
background: #333; color: #fff;
}
.bg-primary {
background: #333; color: #333;
}
/*Navbar */
- navbar {
position: absolute; top: 0; width: 100%; background: #333; color: #fff; overflow:auto;
}
- navbar a {
color: #fff;
}
- navbar h1 {
float: left; padding-top: 20px;
}
- navbar ul {
list-style: none; float: right;
}
- navbar ul li {
float: left;
}
- navbar ul li a {
display: block; padding: 20px; text-align: center;
}
- navbar ul li a:hover,
ul li a.current {
background: #444;
color: #f7c08a;
}
/* Showcase */
- showcase {
background: url('https://2019.igem.org/wiki/images/3/3d/T--FSU--wiki_background.jpeg') no-repeat center center/cover;
height: 600px;
}
- showcase .showcase-content {
color: #fff; text-align: center; padding-top: 170px;
}
- showcase .showcase-content h1 {
font-size: 60px; line-height: 1.2em;
}
- showcase .showcase-content p {
padding-bottom: 20px; line-height: 1.7em;
}
/* Home Info */
- home-info {
height: 400px;
}
- home-info .info-img {
float: left;
width: 50%;
background: url('./photo-1.jpg') no-repeat;
min-height: 100%;
}
- home-info .info-content {
float: right; width: 50%; height: 100%; text-align: center; padding: 50px 30px; overflow: hidden;
}
- home-info .info-content p {
padding-bottom: 30px;
}