uci-hugo-landingpage/assets/css/page.css

398 lines
4.6 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*-------------
General
-------------*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
font-family: 'Roboto', sans-serif;
font-size: 1em;
color: black;
}
ul, nav{
list-style: none;
}
ul.grid{
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
a{
text-decoration: none;
color: inherit;
cursor: pointer;
opacity: 0.7;
}
a:hover{
opacity: 1;
}
a.btn{
color: #fff;
border-radius: 4px;
text-transform: uppercase;
background-color: #2196F3;
font-weight: 800;
text-align: center;
}
hr {
margin: 4px auto 4px auto;
height:0px;
width:50%;
border-style: solid;
border-width : 2px;
border-top-color: white;
border-bottom-color: rgba(0,0,0,0.2);
}
/*----------------
Common Section Styling
----------------*/
section{
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 50px;
}
.section-even {
color: white;
background-color: silver;
}
section h1{
font-size: 1.25em;
}
section p{
}
@media (min-width: 600px){
section{
padding: 60px 60px;
}
section h1{
font-size: 2em;
}
}
@media (min-width: 1000px){
section{
padding: 80px 125px;
}
section h1{
font-size: 2.5em;
}
}
/*----------------
Hero Section
----------------*/
#hero{
background-image: url("../images/hero.jpg");
background-size:cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
}
#hero .text {
text-align:center;
width:auto;
color:white;
font-weight: bold;
font-size: 1em;
}
/* #hero h1, #hero h2, #hero h3, #hero h4, #hero p { color:white; }*/
#hero h1{
font-size: 5em;
}
#hero h2{
font-size: 3em;
}
#hero h3{
font-size: 2em;
}
#hero a.btn{
padding: 20px 46px;
}
@media (max-width: 800px){
#hero h1{
font-size: 48px;
}
#hero h3{
font-size: 24px;
}
#hero a.btn{
padding: 15px 40px;
}
}
/*--------------------
Our Work Section
---------------------*/
.оur-work{
background-color: #fff;
}
.our-work .grid li{
padding: 20px;
height: 350px;
border-radius: 3px;
background-clip: content-box;
background-size: cover;
background-position: center;
background-color: #333;
}
.our-work .grid li.small{
flex-basis: 40%;
}
.our-work .grid li.large{
flex-basis: 60%;
}
@media (max-width: 1000px){
.our-work .grid li.small,
.our-work .grid li.large{
flex-basis: 100%;
}
}
/*----------------------
Features Section
----------------------*/
.features{
background-color: #f7f7f7;
}
.features .grid li{
padding: 0 30px;
flex-basis: 33%;
text-align: center;
}
.features .grid li i{
font-size: 50px;
color: #2196F3;
margin-bottom: 25px;
}
.features .grid li h4{
color: #555;
font-size: 20px;
margin-bottom: 25px;
}
.features .grid li p{
margin: 0;
}
@media (max-width: 1000px){
.features .grid li{
flex-basis: 70%;
margin-bottom: 65px;
}
.features .grid li:last-child{
margin-bottom: 0;
}
}
@media (max-width: 600px){
.features .grid li{
flex-basis: 100%;
}
}
/*--------------------
Reviews Section
--------------------*/
.reviews{
background-color: #fff;
}
.reviews .quote{
text-align: center;
width: 80%;
font-size: 22px;
font-weight: 300;
line-height: 1.5;
margin-bottom: 20px;
padding: 0;
}
.reviews .author{
font-size: 18px;
margin-bottom: 50px;
}
.reviews .author:last-child{
margin-bottom: 0;
}
@media (max-width: 1000px){
.reviews .quote{
font-size: 20px;
}
.reviews .author{
font-size: 16px;
}
}
/*---------------------
Contact Section
---------------------*/
.contact{
background-color: #f7f7f7;
}
.contact form{
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
max-width: 800px;
width: 80%;
}
.contact form input{
padding: 15px;
flex: 1;
margin-right: 30px;
font-size: 18px;
color: #555;
}
.contact form .btn{
padding: 18px 42px;
}
@media (max-width: 800px){
.contact form input{
flex-basis: 100%;
margin: 0 0 20px 0;
}
}
/*-------------
Footer
-------------*/
footer{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
background-color: #414a4f;
padding: 60px 0;
}
footer ul{
display: flex;
margin-bottom: 25px;
font-size: 32px;
}
footer ul li{
margin: 0 8px;
}
footer ul li:first-child{
margin-left: 0;
}
footer ul li:last-child{
margin-right: 0;
}
footer p{
text-transform: uppercase;
font-size: 14px;
color: rgba(255,255,255,0.6);
margin-bottom: 10px;
}
footer p a{
color: #fff;
}
@media (max-width: 700px){
footer{
padding: 80px 15px;
}
}
/* -- Demo ads -- */
@media (max-width: 1200px) {
#bsaHolder{ display:none;}
}