fara-web/css/main.css

119 lines
2.1 KiB
CSS

@import url(spectre.css);
@import url(fonts.css);
/** Font classes **/
.arvo {
font-family: 'arvoregular'/*Fallback??*/;
}
.roboto {
font-family: 'roboto_condensedregular';
}
/****** Custom rules ******/
body {
height: 100%;
display: flex;
flex-direction: column;
scroll-behavior: smooth;
}
main {
flex: 1 0 auto;
width: 100%;
}
/* ---- Header ----- */
header {
background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
width: 100%;
min-height: 930px;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin: 0;
padding: 0;
}
.main-header.bg1 {
background-image: url(../img/fara_background.jpg);
}
.main-header.bg2 {
background-image: url(../img/fara_bg_2.jpg);
}
.main-header h1 {
font-size: 3rem;
}
.main-header h1::after {
max-width: 5rem;
margin: 10px auto 0 auto;
min-height: 0.4rem;
background-color: #ccac68;
content: '';
display: block;
}
#title {
flex: none;
min-width: 50%;
}
#title button {
min-width: 80%;
color: #fff;
background-color: transparent;
border: 1px solid #fff;
border-radius: 4px;
padding: 3px 0;
font-size: 0.9rem;
cursor: pointer;
}
#title button:hover {
background-color: rgba(254, 254, 254, 0.25);
}
/* ---- Navbar ----- */
.active {
color: #fff;font-weight:bold;
}
#nav {
max-height: 50px;
position: fixed;
top: 0;
width: 100%;
}
#nav > div {
vertical-align: middle;
line-height: 2.3rem;
}
#logo {
max-height: 41%;
padding: 7px 0 10px 20px;
}
#links {
text-align: right;
}
#links a {
color: inherit;
padding: 10px;
font-size: 0.85rem;
text-decoration: none;
cursor: pointer;
}
#links a:hover {
color: #fff;
text-decoration: none;
}
/** Footer **/
footer {
min-height: 5rem;
}
footer p {
padding: 20px;
text-align: center;
margin-bottom: 0;
}
#copy {
font-size: 0.7rem;
margin-top: 1rem;
}
.logos {
max-height: 70px;
}