Difference between revisions of "Team:UC San Diego/style.css"
Line 395: | Line 395: | ||
.underright-caption p { | .underright-caption p { | ||
− | font-size: | + | font-size: 5px; |
color: #fff; | color: #fff; | ||
} | } |
Revision as of 19:15, 13 July 2015
/*
Layer Template as base foundation.
@import url(http://fonts.googleapis.com/css?family=Oswald:300);
- /
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800); .blue {
color: #06C;
}
.green {
color: #090;
}
.lightgreen {
color: #3C6;
}
.yellow {
color: #CC6;
}
.orange {
color: #C60;
}
.white {
color: #FFF;
}
/*BASIC*/
ul {
padding: 0;
margin: 0;
}
p {
color: #787878;
line-height: 22px;
}
body {
background-color: #eee!important;
overflow-x: hidden;
}
.wiki-flexbox {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 100%;
}
/*PARALLAX*/
[class*="bg__"] {
height: 100vh;
position: relative;
/* fix background */
background-attachment: fixed;
/* center it */
background-position: center center;
/* Scale it nicely to the element */
background-size: cover;
/* just make it look a bit better ;) */
&:nth-child(2n) {
box-shadow: inset 0 0 1em #111;
}
}
.bg__first {
background-image: url();
}
.bg__first .container {
height: 75.5vh;
min-height: 440px;
}
/* SECOND IMAGE IF WE DECIDE TO INCLUDE IT
.bg__second {
border-bottom: 3px solid #2d4f87;
height: 15vh;
background-image: url();
}
- /
/*HEADER*/
.navbar-brand img {
display: inline-block;
margin-right: 5px;
}
.navbar-brand {
font-size: 18px;
font-weight: 700;
color: #1e1e1e!important;
text-transform: uppercase;
text-shadow: none!important;
}
.navbar {
margin-bottom: 0px!important;
}
.navbar-inverse {
background-image: none;
background-color: #fff!important;
border-radius: 0!important;
border-color: transparent!important;
border-bottom: 1px solid #ddd!important;
}
.nav a {
font-size: 15px;
color: #1e1e1e!important;
text-shadow: none!important;
margin-left: 20px;
}
.nav a:hover {
color: #2d4f87!important;
-webkit-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
.nav li:hover .sub-menu { /*http://www.greywyvern.com/?post=337*/
visibility: visible;
opacity: 1;
}
.nav span {
font-size: 13px;
font-weight: 600;
color: #fff;
margin-top: -10px;
display: inline-block;
background-color: #2d4f87;
padding: 6px 12px;
text-align: center;
border-color: transparent;
}
.nav .sub-menu {
border-top: 8px solid #fff;
margin-left: 30px;
position: absolute;
background-color: #fff;
width: 140px;
visibility: hidden;
opacity: 0;
-webkit-transition: opacity 0.5s ease;
transition: opacity 0.5s ease;
z-index: 12;
}
.nav .sub-menu li {
list-style: none;
padding: 10px 0px;
border-bottom: 1px solid #eee;
}
.nav .sub-menu li:first-child {
border-top: 3px solid #2d4f87;
}
.nav .sub-menu li a {
font-size: 13px;
text-decoration: none;
}
/*SECTIONS*/
/*First Section*/
.left-image {
float: right;
overflow: hidden;
background-size: cover;
max-width: 100%;
}
.underright-caption {
color: #fff; width: 1000px; height: 225px; margin: auto; padding: auto;
}
.underright-caption h2 {
font-size: 24px; color: #fff;
}
.underright-caption p {
font-size: 5px; color: #fff;
}
.right-caption {
border: 4px solid white; color: #fff; width: 200px; height: 225px; margin: auto; padding: auto;
}
.right-caption h4 {
font-size: 24px;
font-weight: 600;
color: #fff;
}
.right-caption h2 {
font-size: 70px;
font-weight: 600;
text-transform: uppercase;
text-align: center;
color: #fff;
padding: 10px 10px 10px 10px;
}
.right-caption p {
color: #fff!important;
}
.stroked-button {
margin-top: 40px;
}
.stroked-button a {
margin-top: 30px;
text-decoration: none!important;
color: #fff;
font-size: 13px;
font-weight: 600;
padding: 10px 16px;
border: 1px solid #fff;
border-radius: 5px;
}
.stroked-button a:hover {
color: #2d4f87;
border-color: #2d4f87;
-webkit-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
.arrow {
position: absolute;
left: 0;
bottom: 72px;
width: 100%;
text-align: center;
}
.arrow i {
font-size: 22px;
color: #fff;
width: 30px;
height: 30px;
line-height: 28px;
display: inline-block;
text-align: center;
border: 1px solid #fff;
border-radius: 50%;
}
.arrow i:hover {
color: #2d4f87;
border-color: #2d4f87;
-webkit-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
.arrow:active .btn {
box-shadow: none;
}
/*Second Section*/
.nav-tiles {
margin-top: 40px;
}
.single-item {
background-color: #fff;
text-align: center;
margin-bottom: 20px;
}
.single-item:hover i {
color: #fff;
background-color: #2d4f87;
cursor: pointer;
-webkit-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
border-color: transparent;
}
.single-item i {
margin-top: 30px;
font-size: 26px;
color: #2d4f87;
border: 1px solid #e7e7e7;
border-radius: 50%;
width: 80px;
height: 80px;
line-height: 80px;
display: inline-block;
text-align: center;
}
.single-item h2 {
font-size: 15px;
color: #1e1e1e;
font-weight: 700;
text-transform: uppercase;
}
.single-item p {
margin-top: 10px;
margin-left: 20px;
margin-right: 20px;
padding-bottom: 20px;
}
.service-arrow {
text-align: center;
margin-top: 10px;
padding-bottom: 20px!important;
}
.service-arrow i {
font-size: 22px;
color: #2d4f87;
width: 30px;
height: 30px;
line-height: 28px;
display: inline-block;
text-align: center;
border: 1px solid #2d4f87;
border-radius: 50%;
}
.service-arrow i:hover {
color: #2d4f87;
border-color: #2d4f87;
-webkit-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
.service-arrow:active .btn {
box-shadow: none;
}
/*Third Section*/
.left-text {
position: absolute;
margin-top: 20%;
background-color: #fff;
border-top: 3px solid #2d4f87;
}
.left-text h2 {
margin-right: 30px;
margin-left: 30px;
padding-top: 10px;
padding-bottom: 15px;
font-size: 20px;
color: #1e1e1e;
font-weight: 700;
}
.left-text .line {
margin-left: 30px;
width: 180px;
height: 2px;
background-color: #ddd;
}
.left-text p {
margin: 30px;
}
.left-text .button {
margin: 30px;
padding-bottom: 30px;
}
.left-text a {
text-decoration: none!important;
font-size: 13px;
font-weight: 600;
padding: 7px 10px;
margin: 0px;
color: #fff!important;
background-color: #2d4f87;
}
/*Fourth Section*/
.right-text {
position:absolute;
z-index: 11;
background-color: #fff;
border-top: 3px solid #2d4f87;
}
.right-text h2 {
margin-right: 30px;
margin-left: 30px;
padding-top: 10px;
padding-bottom: 15px;
font-size: 20px;
color: #1e1e1e;
font-weight: 700;
}
.right-text .line {
margin-left: 30px;
width: 180px;
height: 2px;
background-color: #ddd;
}
.right-text p {
margin: 30px;
}
.right-text .button {
margin: 30px;
padding-bottom: 30px;
}
.right-text a {
text-decoration: none!important;
font-size: 13px;
font-weight: 600;
padding: 7px 10px;
margin: 0px;
color: #fff!important;
background-color: #2d4f87;
}
.wiki-position-relative {
position: relative;
}
/*FOOTER*/
footer {
background-color: #2d4f87;
text-align: center;
}
.social-icons li {
margin-top: 60px;
list-style: none;
display: inline-block;
}
.social-icons a {
color: #2d4f87;
margin: 0 5px;
width: 25px;
height: 25px;
border-radius: 50%;
background-color: #fff;
text-align: center;
display: inline-block;
line-height: 25px;
}
.social-icons a:hover {
background-color: #2d4f87;
color: #fff;
-webkit-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.copyright-text p {
text-transform: uppercase;
margin-top: 20px;
font-size: 12px;
color: #fff;
font-weight: 300;
padding-bottom: 10px;
}
.copyright-text a {
color: #f9c9c9!important;
text-decoration: none!important;
}
.third-arrow {
text-align: center;
padding-bottom: 40px;
}
.third-arrow i {
font-size: 22px;
color: #2d4f87;
width: 30px;
height: 30px;
background-color: #fff;
line-height: 28px;
display: inline-block;
text-align: center;
border: 1px solid #fff;
}
.third-arrow i:hover {
-webkit-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
.third-arrow:active .btn {
box-shadow: none;
}
/*SIDEBAR*/
- heading-pages img {
height: auto;
overflow: hidden;
width: 100%;
border-bottom: 3px solid #2d4f87;
background-repeat: no-repeat;
}
- heading-pages {
text-align: center;
}
- heading-pages h2 {
margin-top: 60px;
font-size: 22px;
color: #1e1e1e;
font-weight: 700;
text-transform: uppercase;
border-bottom: 1px solid #2d4f87;
padding-bottom: 15px;
}
- heading-pages p {
margin-top: 5px;
padding-bottom: 50px;
}
.main-post {
padding-bottom: 80px;
}
.image-post img {
width: 100%;
overflow: hidden;
border-bottom: 3px solid #2d4f87;
}
.post-content {
background-color: #fff;
margin-top: -20px;
}
.post-content h1 {
font-size: 18px;
color: #1e1e1e;
font-weight: 700;
text-transform: uppercase;
padding: 30px 0 0 30px;
}
.post-content p {
padding: 30px;
}
.post-content blockquote {
font-size: 14px;
color: #555;
font-weight: 600;
border-left: 3px solid #2d4f87;
margin-left: 30px;
margin-right: 30px;
}
.first-widget {
padding-bottom: 60px;
}
.widgets h4 {
margin-top: 0px;
font-size: 20px;
color: #1e1e1e;
font-weight: 700;
text-transform: uppercase;
padding-bottom: 15px;
}
.widget-social li {
margin-top: 15px;
list-style: none;
display: inline-block;
}
.widget-social a {
font-size: 13px;
color: #fff;
margin: 0 5px;
width: 25px;
height: 25px;
border-radius: 50%;
background-color: #aaa;
text-align: center;
display: inline-block;
line-height: 25px;
}
.widget-social a:hover {
background-color: #2d4f87;
color: #fff;
-webkit-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.second-widget {
padding-bottom: 70px;
}
.posts {
display: inline;
}
.posts img {
}
.posts a {
text-decoration: none;
color: #1e1e1e;
}
.posts a:hover {
color: #2d4f87;
-webkit-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.posts h6 {
font-size: 15px;
color: #1e1e1e;
font-weight: 700;
margin-left: 135px;
margin-top: -80px;
line-height: 22px;
}
.posts span {
font-size: 12px;
color: #999;
font-weight: 300;
display: inline;
margin-left: 135px;
}
.post1 {
margin-top: 30px;
}
.post2 {
margin-top: 40px;
}
.third-widget {
padding-bottom: 50px;
}
.third-widget ul {
margin-top: 20px;
}
.third-widget li {
list-style: none;
padding-bottom: 5px;
}
.third-widget li a:hover p {
color: #2d4f87;
-webkit-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.third-widget li a:hover span {
color: #2d4f87;
-webkit-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.third-widget a {
font-size: 13px;
font-weight: 600;
}
.third-widget li p {
display: inline-block;
color: #aaa;
}
.third-widget li span {
float: right;
color: #aaa;
}
/*ELEMENTS*/
.elements-headings {
margin-top: 60px;
padding-bottom: 20px;
}
.elements-headings h2 {
font-size: 18px;
color: #1e1e1e;
font-weight: 700;
text-transform: uppercase;
border-bottom: 3px solid #ddd;
padding-bottom: 10px;
}
.heading-levels h1 {
margin-top: 0px;
}
.photos img {
margin-top: 20px;
width: 100%;
overflow: hidden;
background-size: cover;
}
.elements {
padding-bottom: 0px;
}
.main-footer {
margin-top: 80px;
margin-bottom: -80px;
}
/*RESPONSIVE*/
@media (max-width: 991px) {
.fourth-arrow {
text-align: center;
margin-top: 92vh;
}
.submit-form select {
margin-top: 15px;
}
.submit-form input {
margin-top: 15px;
}
}
@media (max-width: 767px) {
.right-caption h4 {
font-size: 16px;
}
.right-caption h2 {
font-size: 70px;
}
.left-image {
float: none;
}
.left-image img {
margin: 0 auto;
}
.right-caption {
text-align: center;
margin-top: 10px;
padding-bottom: 0;
}
.right-caption h2 {
padding-bottom: 0px;
margin-top: 0px;
}
.right-caption p {
margin-top: -5px;
}
.stroked-button {
padding-bottom: 15px;
padding-top: 10px;
margin-top: 10px;
}
.nav .sub-menu {
display: block;
position: relative;
opacity: 1;
visibility: visible;
text-align: left;
}
.sub-menu a {
color: #999!important;
}
.navbar-inverse .navbar-toggle {
border-color: #2d4f87!important;
background-color: #2d4f87;
}
.navbar-inverse .navbar-toggle:hover {
background-color: #2d4f87!important;
}
.right-text .button {
padding-bottom: 0px;
}
.left-text .button {
padding-bottom: 0px;
}
}
@media (max-width: 640px) {
.left-image img {
width: 128px;
}
}
@media (max-width: 480px) {
.arrow {
bottom: 20px;
}
}
@media (max-height: 600px) {
.bg__third, .bg__fourth {
min-height: 600px;
}
}
@media (max-height: 500px) {
.bg__first {
min-height: 520px;
}
}
.img-responsive {
width: 100%;
}
footer {
text-align: center; background: white;
}
- logorow {
padding: 2em;
}
.footerimg {
max-height: 100px; max-width: 250px;
}
.footerlogo {
display: inline-block; vertical-align: middle; padding: 1.5em;
}
.footerlogo:hover .on, .footerlogo .off {
display:none;
}
.footerlogo:hover .off {
display:block;
}
/*------------- ACCORDION CODE (may not use) -----------*/
/*
.accordion, .accordion * {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
.accordion { overflow:hidden; box-shadow:0px 1px 3px rgba(0,0,0,0.25); border-radius:3px; background:#f7f7f7; }
/*----- Section Titles -----*/ .accordion-section-title { width:100%; padding:15px; display:inline-block; border-bottom:1px solid #1a1a1a; background:#333; transition:all linear 0.15s; /* Type */ font-size:1.200em; text-shadow:0px 1px 0px #1a1a1a; color:#fff; }
.accordion-section-title.active, .accordion-section-title:hover { background:#4c4c4c; /* Type */ text-decoration:none; }
.accordion-section:last-child .accordion-section-title { border-bottom:none; }
/*----- Section Content -----*/
.accordion-section-content {
padding:15px;
display:none;
}
.main:before { width:100%; height:100%; position:absolute; top:0px; left:0px; z-index:-1; content:; background:-webkit-radial-gradient(30%, rgba(255,255,255,0.15), rgba(0,0,0,0)), url('img/body-bg.png'); background:-moz-radial-gradient(30%, rgba(255,255,255,0.15), rgba(0,0,0,0)), url('img/body-bg.png'); background:-o-radial-gradient(30%, rgba(255,255,255,0.15), rgba(0,0,0,0)), url('img/body-bg.png'); background:radial-gradient(30%, rgba(255,255,255,0.15), rgba(0,0,0,0)), url('img/body-bg.png'); }
- /