Difference between revisions of "Team:UC San Diego/style.css"
Line 83: | Line 83: | ||
body { | body { | ||
− | background-color: # | + | background-color: #828A95; |
overflow-x: hidden; | overflow-x: hidden; |
Revision as of 21:54, 30 August 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 {
list-style: none outside none;
}
ol {
list-style: none outside none;
}
p {
color: #828A95;
line-height: 22px;
}
body {
background-color: #828A95;
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 #A54D58;
height: 15vh;
background-image: url();
}
- /
/*HEADER*/
.navbar-brand img {
display: inline-block;
margin-right: 5px;
}
.navbar-brand {
font-size: 18px;
font-weight: 700;
color: #394053!important;
text-transform: uppercase;
text-shadow: none!important;
}
.navbar {
margin-bottom: 0px!important;
}
.navbar-inverse {
background-image: none;
background-color: #fff;
border-radius: 0!important;
border-color: transparent!important;
border-bottom: 1px solid #fff!important;
}
.nav a {
font-size: 15px;
color: #394053 !important;
text-shadow: none!important;
margin-left: 20px;
}
.nav a:hover {
color: #1B998B!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: #1B998B;
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 #fff;
}
.nav .sub-menu li:first-child {
border-top: 3px solid #1B998B;
}
.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 {
font-family: 'Quicksand', sans-serif; color: #fff; width: 500px; height: 10px; margin: auto; padding: auto;
}
/* .boxed {
border: 4px solid white; color: #fff; width: 200px; height: 225px;
}
- /
.right-caption {
border: 7px solid white; background-color: rgba(255,255,255,0.25); color: #fff; width: 200px; height: 225px; margin: auto; padding: auto;
}
.right-caption h4 {
font-size: 24px;
font-weight: 600;
color: #fff;
}
.right-caption h3 {
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: #A54D58;
border-color: #1B998B;
-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: #A54D58;
border-color: #1B998B;
-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: #394053;
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: #394053;
border: 1px solid #394053;
border-radius: 50%;
width: 80px;
height: 80px;
line-height: 80px;
display: inline-block;
text-align: center;
}
.single-item h3 {
font-size: 15px;
color: #394053;
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: #394053;
width: 30px;
height: 30px;
line-height: 28px;
display: inline-block;
text-align: center;
border: 1px solid #A54D58;
border-radius: 50%;
}
.service-arrow i:hover {
color: #394053;
border-color: #394053;
-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 #A54D58;
}
.left-text h2 {
margin-right: 30px;
margin-left: 30px;
padding-top: 10px;
padding-bottom: 15px;
font-size: 20px;
color: #1B998B;
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 #A54D58;
}
.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: #fff;
text-align: center;
}
.social-icons li {
margin-top: 60px;
list-style: none;
display: inline-block;
}
.social-icons a {
color: #A54D58;
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: #A54D58;
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: #394053;
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 #E8DDCB;
background-repeat: no-repeat;
}
- heading-pages {
text-align: center;
}
- heading-pages h2 {
margin-top: 60px;
font-size: 22px;
color: #fff;
font-weight: 700;
text-transform: uppercase;
border-bottom: 1px solid #A54D58;
padding-bottom: 15px;
}
- heading-pages h4 {
color: #1B998B;
}
- heading-pages p {
color: #828A95;
margin-top: 5px;
padding-bottom: 50px;
}
.main-post {
padding-bottom: 80px;
}
.image-post img {
margin-left: 30px;
margin-right: 30px;
padding-right: 30px;
width: 100%;
overflow: hidden;
/*
border-bottom: 3px solid #A54D58;
- /
}
.post-content {
background-color: #fff;
margin-top: -20px;
margin-left: 30px;
}
.post-content h1 {
font-size: 18px;
color: #1B998B;
font-weight: 700;
text-transform: uppercase;
padding: 30px 0 0 30px;
}
.post-content h3 {
font-size: 18px;
color: #1B998B;
font-weight: 700;
text-transform: uppercase;
padding: 30px 0 0 30px;
}
.post-title h1 {
font-size: 18px;
color: #3F403F;
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 #1B889B;
margin-left: 30px;
margin-right: 30px;
}
.first-widget {
padding-bottom: 60px;
}
.widgets h4 {
margin-top: 0px;
font-size: 20px;
color: #E8DDCB;
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: #A54D58;
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: #A54D58;
-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: #031634;
-webkit-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.third-widget li a:hover span {
color: #031634;
-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: #1B998B;
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 h3 {
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: #031634!important;
background-color: #031634;
}
.navbar-inverse .navbar-toggle:hover {
background-color: #031634!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:#fff;
}
- 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;
}