pcs-website-test/lektor/lektordata/project/assets/static/style.css
2024-11-17 14:20:36 +01:00

161 lines
2.4 KiB
CSS

@font-face {
font-family: 'Roboto-Regular';
src: url('/static/webfonts/Roboto-Regular.woff2') format('woff2'),
url('/static/webfonts/Roboto-Regular.woff') format('woff');
}
@font-face {
font-family: 'Roboto-Light';
src: url('/static/webfonts/Roboto-Light.woff2') format('woff2'),
url('/static/webfonts/Roboto-Light.woff') format('woff');
}
body {
font-size: 1vw;
font-family: 'Roboto-Light', 'Arial', sans-serif;
margin: 50px 25px;
color: #5d5d5d;
}
.navbar-nav {
padding-top: 10px;
}
.navbar-nav .active a{
color: #7f5e3c;
}
a {
color: #b78c66;
text-decoration: none;
}
a:hover {
color: #7f5e3c;
}
th, td {
padding-left: 15px;
padding-right: 15px;
padding-top: 5px;
padding-bottom: 5px;
}
header, footer, div.page {
position: relative;
width: 80%;
margin: 0 auto;
background: #ececec;
color: #6c7d8c;
max-width: 1200px;
}
header > div.inner_header, footer > div.inner_footer, div.page > div.inner_page{
padding: 20px 30px;
}
div.inner_page > *{
margin: 0;
}
div.page h1, div.page h2, div.page h3, div.page h4, div.page h5, div.page h6{
color: #5d5d5d;
}
div.inner_page {
position: relative;
top: 0;
padding: 0;
}
div.bgimage + div.inner_page {
position: absolute;
box-sizing: border-box;
}
.page .bgimage img {
display: block;
width: 100%;
max-width: 1200px; /* corresponds to max height of 450px */
margin: 0 auto;
filter: opacity(50%);
}
page .bgimage {
position: absolute;
box-sizing: border-box;
background: #fff;
}
.bgimage {
background: #fff;
}
/*
.inner_page{
position: absolute;
top: 0;
padding: 0px 30px;
box-sizing: border-box;
}
*/
header, footer {
color: #b0b0b0;
}
header {
font-size: 1vw;
}
footer {
font-size: 0.75vw;
}
header h1 {
color: #b0b0b0;
margin: 0;
font-weight: bold;
font-size: 42px;
}
header nav ul {
list-style: none;
margin: 0;
padding: 0;
}
header nav ul li {
display: inline;
margin: 0 8px 0 0;
padding: 0;
}
div.page {
background: #fafafa;
}
@media (max-width: 768px){
body {
font-size: 4vw;
}
header {
font-size: 3vw;
}
footer {
font-size: 2vw;
}
}
@media (min-width: 769px) and (max-width: 1024px){
body {
font-size: 2.5vw;
}
header {
font-size: 2vw;
}
footer {
font-size: 1.75vw;
}
}