Difference between revisions of "Team:Cambridge-JIC/Assets/Style css"
Simonhkswan (Talk | contribs) |
Simonhkswan (Talk | contribs) |
||
Line 262: | Line 262: | ||
color: white; | color: white; | ||
max-width: 1200px; | max-width: 1200px; | ||
− | margin: 0px | + | margin: 0px 200px 0px auto; |
padding: 20px 0px 20px 0px; | padding: 20px 0px 20px 0px; | ||
} | } |
Revision as of 12:59, 18 September 2015
body {
font-family: 'Open Sans', sans-serif
}
html, body {
max-width: 100%; overflow-x: hidden;
}
- globalWrapper {
padding:0; } .pad-top {
padding-top: 60px
} .text-center {
text-align: center
} i.fa {
padding: 5px
} section {
padding-top: 50px; width: 100%
}
.hl_1 { color: green; }
.hl_2 { color: red; }
p {
font-weight: 300; line-height: 30px; font-size: 120%
} .persondesc {
font-weight: 300; line-height: 30px; font-size: 105%
} .pad-row {
padding-top: 40px; padding-bottom: 40px
} .pad-bottom {
padding-bottom: 50px
}
.fixed {
position: fixed;
}
/* sidebar */ .bs-docs-sidebar {
padding-left: 150px; margin-top: 80px; margin-bottom: 20px; float:right; padding-right:5px; margin-right:20px; z-index: 99999;
}
/* all links */ .bs-docs-sidebar .nav>li>a {
color: #999; border-left: 2px solid transparent; padding: 4px 20px; font-size: 13px; font-weight: 400;
}
/* nested links */ .bs-docs-sidebar .nav .nav>li>a {
padding-top: 1px; padding-bottom: 1px; padding-left: 30px; font-size: 12px;
}
/* active & hover links */ .bs-docs-sidebar .nav>.active>a, .bs-docs-sidebar .nav>li>a:hover, .bs-docs-sidebar .nav>li>a:focus {
color: #123a68; text-decoration: none; background-color: transparent; border-left-color: #563d7c;
} /* all active links */ .bs-docs-sidebar .nav>.active>a, .bs-docs-sidebar .nav>.active:hover>a, .bs-docs-sidebar .nav>.active:focus>a {
font-weight: 700;
} /* nested active links */ .bs-docs-sidebar .nav .nav>.active>a, .bs-docs-sidebar .nav .nav>.active:hover>a, .bs-docs-sidebar .nav .nav>.active:focus>a {
font-weight: 500;
}
/* hide inactive nested list */ .bs-docs-sidebar .nav ul.nav {
display: none;
} /* show active nested list */ .bs-docs-sidebar .nav>.active>ul.nav {
display: block;
}
.navbar {
margin-top: 16px
} .navbar-inverse .navbar-nav>li>a {
color: #FFF
} .navbar-inverse .navbar-brand {
color: #FFF
} .nav li:hover {
background: #555; transition: all .2s ease
}
.nav li {
transition: visibility 1.26s linear 0s, background 0.9s linear 0.36s;
}
.nh {
background: #333; transition: all .2s ease
}
.nav ul li {
text-align: center; list-style-type: none
} .nav ul {
display: inline-block
} .navsub, .nhs {
color: white; background: #222; left: 0; text-align: center;
width: 100%; position: fixed; top: 68px; } .firstHeading {
display: none;
}
- content {
width: 100%; height: 100%; border:none; }
.navsub ul li, .nhs ul li {
padding-left: 20px; padding-right: 20px; line-height: 50px; float: left; list-style-image: none
} .navsub ul li a, .nhs ul li a {
display: block; width: 100%; color: white; text-decoration: none
}
.nav > li > .navsub {
visibility: hidden; opacity:0; transition: visibility 1.26s linear 0s, opacity 0.9s linear 0.36s, z-index 1.26s; z-index:10;
}
.nav > li:hover > .navsub, .nhs {
visibility:visible; opacity:1; transition:visibility 0s linear 0s,opacity 0s linear; transition-delay:0s; z-index: 100;
}
.nhs { z-index:1 }
.nhs:hover { z-index:100 }
.navbar {
-webkit-transition: background .8s ease-out, padding .8s ease-out; -moz-transition: background .8s ease-out, padding .8s ease-out; transition: background .8s ease-out, padding .8s ease-out
} .navbar-pad-original {
padding: 0
}
small {
font-size: 15px; padding-left: 10px
}
- footer-sec {
background-color: #000; margin-left: -1px; margin-bottom: -10px; color: gray
}
- footer-sec h4 {
text-transform: uppercase; color: #fff
} section {
padding: 0; margin: 0; border: 0
} .cam-container {
height: auto; margin: 0; padding: 0px; background-color: #fff; font-size: 13.6px; min-width: 300px; -webkit-overflow-scrolling: touch;
}
- content {
padding:0; }
@media only screen and (max-width: 1200px) {
.cam-container { background-color: #000 }
} .cam-container section:first-of-type {
margin-top: 50px; padding-top: 50px
}
.slide, .slide-team, .slide-bare {
background-repeat: no-repeat; background-position: center; background-size: 100% 100%; color: white; max-width: 1200px; margin: 0px 200px 0px auto; padding: 20px 0px 20px 0px;
}
.ss { padding: 20px 10px; }
.slide, .slide-team {
min-height: 600px
} .slide-team {
overflow: auto; display: block
} .team {
max-width: 1170px; min-width: 300px; text-align: center;
} .teamen {
text-align: center;
} .face {
white-space: normal; width: 280px; height: 280px; background-repeat: no-repeat; background-position: center; background-size: auto 100%; position: relative; display: inline-block; margin: 3px;
} .face .profile, .face .blur {
width: 100%; height: 100%; position: absolute; overflow: hidden; top: 0; left: 0
} .face .profile {
opacity: 0; padding: 10px; color: #fff
} .face .profile h3 {
text-align: center; margin: 10px 0
} .face .profile p {
line-height: normal
} .face:hover .profile, .profilehovered {
opacity: 1; background-color: rgba(0, 0, 0, 0.65)
} .face:hover .blur, .facehovered {
background: inherit; filter: blur(10px); -webkit-filter: blur(10px)
} .facen { width: 250px; height: 260px; margin-top:20px; }
.cam-container h1, .cam-container h2, .cam-container h3, .cam-container h4, .cam-container h5, .cam-container h6 {
padding: 0; border: 0; margin-bottom: 0em !important; padding-bottom: 0.6em;
} .cam-container h1, .cam-container h2 {
margin-top: 0.6em !important
} .cam-container h3, .cam-container h4, .cam-container h5, .cam-container h6 {
margin-top: 0.3em !important
} .cam-container a, .nav a {
color: #fff
} .cam-container a:link, .nav a:link {
color: #fff
} .cam-container a:visited, .nav a:visited {
color: #fff
} .cam-container a:hover {
color: #89aabe
} .nav a:hover {
color: #fff
} .cam-container a:active, .nav a:active {
color: #fff
}
- bodyContent a[href^="https://"], .link-https {
background: none !important; padding: 0 !important;
} section#footer-sec a, a.blue {
color: #98aabe
} section#footer-sec a:link, a.blue:link {
color: #98aabe
} section#footer-sec a:visited, a.blue:visited {
color: #98aabe
} section#footer-sec a:hover, a.blue:hover {
color: #428bca
} section#footer-sec a:active, a.blue:active {
color: #98aabe
} .gitgraph-tooltip {
position: absolute; margin-top: -15px; margin-left: 25px; padding: 10px; border-radius: 5px; background: #EEE; color: #333; text-align: center; font-size: 14px; line-height: 20px
} .gitgraph-tooltip:after {
position: absolute; top: 10px; left: -18px; width: 0; height: 0; border-width: 10px; border-style: solid; border-color: transparent; border-right-color: #EEE; content: ""
} .gitgraph-detail {
position: absolute; padding: 10px; text-align: justify; width: 800px; display: none
}
- footer-sec {
padding-top: 30px; }
ul {
list-style: square url('data:image/gif;base64,R0lGODlhBQAKAIABAAAAAP///yH5BAEAAAEALAAAAAAFAAoAAAIIjI+ZwKwPUQEAOw==')
}
table.rl tr td:first-child {
padding-right: 0.5em; text-align: right
} .emptyspan {
position:absolute; width:100%; height:100%; top:0; left: 0;
}