Difference between revisions of "Team:UC San Diego/style"
(Created page with "→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:40...") |
|||
(83 intermediate revisions by 2 users not shown) | |||
Line 67: | Line 67: | ||
ol { | ol { | ||
list-style: decimal; | list-style: decimal; | ||
− | color: | + | color: 000; |
line-height: 22px; | line-height: 22px; | ||
} | } | ||
Line 74: | Line 74: | ||
p { | p { | ||
− | color: # | + | color: #000; |
line-height: 22px; | line-height: 22px; | ||
+ | |||
+ | text-align: justify; | ||
} | } | ||
− | |||
Line 90: | Line 91: | ||
} | } | ||
+ | iframe { | ||
+ | |||
+ | padding-right: 30px; | ||
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | } | ||
Line 198: | Line 205: | ||
display: inline-block; | display: inline-block; | ||
− | margin-right: 5px; | + | margin-right: 5px; |
− | margin-top: - | + | margin-top: -10px; |
} | } | ||
Line 207: | Line 214: | ||
.navbar-brand { | .navbar-brand { | ||
+ | |||
+ | padding-left: 50px; | ||
font-size: 18px; | font-size: 18px; | ||
Line 256: | Line 265: | ||
margin-left: 20px; | margin-left: 20px; | ||
+ | padding right: 60px; | ||
} | } | ||
Line 310: | Line 320: | ||
border-top: 8px solid #fff; | border-top: 8px solid #fff; | ||
− | margin-left: | + | margin-top: -5px; |
+ | |||
+ | margin-left: 20px; | ||
position: absolute; | position: absolute; | ||
Line 336: | Line 348: | ||
list-style: none; | list-style: none; | ||
− | padding: | + | padding: 10x -5px; |
border-bottom: 1px solid #fff; | border-bottom: 1px solid #fff; | ||
Line 394: | Line 406: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.right-caption { | .right-caption { | ||
Line 985: | Line 989: | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
+ | |||
+ | text-align: center; | ||
} | } | ||
Line 1,100: | Line 1,106: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
− | border-bottom: 1px solid # | + | border-bottom: 1px solid #828A95; |
padding-bottom: 15px; | padding-bottom: 15px; | ||
Line 1,161: | Line 1,167: | ||
} | } | ||
+ | |||
+ | .i-children { | ||
+ | |||
+ | text-align: justify; | ||
+ | |||
+ | padding-left: 20px; | ||
+ | |||
+ | padding-right: 30px; | ||
+ | |||
+ | } | ||
+ | |||
+ | .caption { | ||
+ | |||
+ | margin-left: 60px; | ||
+ | margin-right: 90px; | ||
+ | line-height: 22px; | ||
+ | text-align: justify; | ||
+ | |||
+ | } | ||
Line 1,174: | Line 1,199: | ||
padding: 30px 0 0 30px; | padding: 30px 0 0 30px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | .post-content a{ | ||
+ | |||
+ | color: inherit; | ||
} | } | ||
Line 1,188: | Line 1,220: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
− | padding: | + | padding: 20px 0 0 20px; |
} | } | ||
Line 1,210: | Line 1,242: | ||
.post-content p { | .post-content p { | ||
− | padding: | + | padding: 20px; |
} | } |
Latest revision as of 01:04, 19 September 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: decimal; color: 000; line-height: 22px;
}
p {
color: #000;
line-height: 22px;
text-align: justify;
}
body {
background-color: #eee;
overflow-x: hidden;
}
iframe {
padding-right: 30px; padding-top: 10px; padding-bottom: 10px;
}
.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;
margin-top: -10px;
}
.navbar-brand {
padding-left: 50px;
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;
padding right: 60px;
}
.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-top: -5px;
margin-left: 20px;
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: 10x -5px;
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: 350px; height: 10px; margin: auto; padding: auto;
}
.right-caption {
border: 7px solid white; background-color: rgba(0,0,0,0.4); 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: #828A95;
border-color: #828A95;
-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:#394053;
text-align: center;
margin-bottom: 20px;
}
.single-item:hover i {
color: #394053;
background-color: #eee;
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: #eee;
border: 1px solid #eee;
border-radius: 50%;
width: 80px;
height: 80px;
line-height: 80px;
display: inline-block;
text-align: center;
}
.single-item h3 {
font-size: 15px;
color: #eee;
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;
text-align: center;
}
.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 #1B998B;
background-repeat: no-repeat;
}
- heading-pages {
text-align: center;
}
- heading-pages h2 {
margin-top: 60px;
font-size: 22px;
color: #1B998B;
font-weight: 700;
text-transform: uppercase;
border-bottom: 1px solid #828A95;
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;
}
.i-children {
text-align: justify;
padding-left: 20px;
padding-right: 30px;
}
.caption {
margin-left: 60px; margin-right: 90px; line-height: 22px; text-align: justify;
}
.post-content h1 {
font-size: 18px;
color: #1B998B;
font-weight: 700;
text-transform: uppercase;
padding: 30px 0 0 30px;
}
.post-content a{
color: inherit;
}
.post-content h3 {
font-size: 18px;
color: #1B998B;
font-weight: 700;
text-transform: uppercase;
padding: 20px 0 0 20px;
}
.post-title h1 {
font-size: 18px;
color: #3F403F;
font-weight: 700;
text-transform: uppercase;
padding: 30px 0 0 30px;
}
.post-content p {
padding: 20px;
}
.post-content blockquote {
font-size: 14px;
color: #555;
font-weight: 600;
border-left: 3px solid #1B889B;
margin-left: 30px;
margin-right: 30px;
}
.post-content ol{
padding: 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;
}