2022-10-20 13:37:00 +01:00
|
|
|
/* FONTS */
|
2022-10-20 21:48:25 +01:00
|
|
|
@font-face {
|
|
|
|
font-family: 'indie-flower';
|
|
|
|
src: url('/style/fonts/indie-flower/indie-flower.woff2') format('woff2'),
|
|
|
|
url('/style/fonts/indie-flower/indie-flower.woff') format('woff'),
|
|
|
|
url('/style/fonts/indie-flower/indie-flower.ttf') format('truetype');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
2022-10-20 13:37:00 +01:00
|
|
|
/* HTML & BODY */
|
|
|
|
html {height: 100%;}
|
2022-10-18 11:45:25 +01:00
|
|
|
body {
|
2022-10-19 14:11:11 +01:00
|
|
|
width: 100%;
|
|
|
|
margin: auto;
|
2022-10-20 13:25:29 +01:00
|
|
|
background-color: lightslategrey;
|
2022-10-18 11:45:25 +01:00
|
|
|
}
|
2022-10-20 13:37:00 +01:00
|
|
|
/* PAGE HEADER */
|
2022-10-20 21:29:18 +01:00
|
|
|
.header_image {
|
2022-10-19 13:40:09 +01:00
|
|
|
background-repeat: no-repeat;
|
2022-10-19 20:12:07 +01:00
|
|
|
background-position: top;
|
|
|
|
background-size: cover;
|
2022-10-19 14:11:11 +01:00
|
|
|
height: 275px;
|
|
|
|
min-width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
margin: auto;
|
2022-10-19 20:12:07 +01:00
|
|
|
margin-top: 40px;
|
2022-10-19 14:11:11 +01:00
|
|
|
position: sticky;
|
2022-10-20 20:53:36 +01:00
|
|
|
top: -145px;
|
2022-10-18 11:45:25 +01:00
|
|
|
}
|
2022-10-20 22:18:41 +01:00
|
|
|
#header_index{background-color: #a04911}
|
|
|
|
@media(min-width: 100px){#header_index{background-image: url("/images/headers/index/300.webp")}}
|
|
|
|
@media(min-width: 301px){#header_index{background-image: url("/images/headers/index/500.webp")}}
|
|
|
|
@media(min-width: 501px){#header_index{background-image: url("/images/headers/index/800.webp")}}
|
|
|
|
@media(min-width: 801px){#header_index{background-image:url("/images/headers/index/1024.webp")}}
|
|
|
|
@media(min-width:1025px){#header_index{background-image:url("/images/headers/index/1920.webp")}}
|
|
|
|
@media(min-width:1921px){#header_index{background-image:url("/images/headers/index/2800.webp")}}
|
|
|
|
@media(min-width:2801px){#header_index{background-image:url("/images/headers/index/4096.webp")}}
|
2022-10-19 22:13:06 +01:00
|
|
|
#page_title { /* This may be best floating above content div rather than inside header div */
|
2022-10-20 20:53:36 +01:00
|
|
|
background-color: #2f4f4f8f;
|
2022-10-20 21:48:25 +01:00
|
|
|
font-family: indie-flower, cursive;
|
2022-10-19 20:12:07 +01:00
|
|
|
font-size: large;
|
2022-10-19 14:22:28 +01:00
|
|
|
width: 100%;
|
2022-10-20 20:53:36 +01:00
|
|
|
height: 90px;
|
2022-10-18 12:48:35 +01:00
|
|
|
text-align: center;
|
2022-10-19 14:11:11 +01:00
|
|
|
position: absolute;
|
2022-10-20 20:53:36 +01:00
|
|
|
bottom: 0;
|
2022-10-18 12:48:35 +01:00
|
|
|
color: azure;
|
2022-10-19 11:51:07 +01:00
|
|
|
}
|
2022-10-19 21:47:27 +01:00
|
|
|
#menubar {
|
|
|
|
background-color: darkslategrey;
|
|
|
|
color: azure;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 40px;
|
|
|
|
}
|
2022-10-19 22:13:06 +01:00
|
|
|
#menubar_logo img { /* Logo file is controlled by media="" in <picture> */
|
2022-10-19 21:47:27 +01:00
|
|
|
max-height: 20px;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
#menubar_hamburger {
|
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
right: 0;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
.sidebar_control {
|
|
|
|
background-color: transparent;
|
|
|
|
color: azure;
|
|
|
|
border: none;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: larger;
|
|
|
|
}
|
2022-10-20 13:37:00 +01:00
|
|
|
#sidebar_open_short {display: block;}
|
2022-10-19 21:47:27 +01:00
|
|
|
#sidebar_close_short {
|
|
|
|
display: none;
|
|
|
|
font-size: x-large;
|
|
|
|
}
|
|
|
|
#sidebar {
|
|
|
|
position: fixed;
|
|
|
|
top: 40px;
|
|
|
|
right: 0;
|
|
|
|
margin: auto;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
2022-10-20 20:48:29 +01:00
|
|
|
max-width: 60%;
|
2022-10-19 21:47:27 +01:00
|
|
|
width: 0;
|
2022-10-20 20:48:29 +01:00
|
|
|
background-color: rgba(29,49,49,0.9);
|
2022-10-19 21:47:27 +01:00
|
|
|
transition: 0.7s;
|
|
|
|
}
|
|
|
|
#sidebar a {
|
|
|
|
padding: 8px 8px 8px 8px;
|
|
|
|
margin-top: 10px;
|
2022-10-20 21:50:29 +01:00
|
|
|
font-family: indie-flower, sans-serif;
|
2022-10-19 21:47:27 +01:00
|
|
|
font-weight: 300;
|
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 25px;
|
|
|
|
color: cyan;
|
|
|
|
display: block;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
#sidebar_logo {
|
|
|
|
margin-top: 40%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
@media screen and (max-height: 500px) {
|
|
|
|
#sidebar_logo {display: none;}
|
|
|
|
}
|
|
|
|
#sidebar_social {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 50px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2022-10-20 13:37:00 +01:00
|
|
|
/* CONTENT */
|
2022-10-19 22:13:06 +01:00
|
|
|
#content { /* Try z-index: 1; so it scrolls over header image */
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#content p {
|
2022-10-19 14:11:11 +01:00
|
|
|
width: 90%;
|
2022-10-19 22:13:06 +01:00
|
|
|
margin: auto;
|
|
|
|
margin-top: 20px;
|
2022-10-20 20:37:25 +01:00
|
|
|
margin-bottom: 40px;
|
2022-10-19 22:13:06 +01:00
|
|
|
color: azure;
|
2022-10-19 21:23:39 +01:00
|
|
|
}
|
2022-10-20 13:37:00 +01:00
|
|
|
/* FOOTER */
|
2022-10-20 13:30:58 +01:00
|
|
|
footer {
|
2022-10-20 20:37:25 +01:00
|
|
|
position: absolute;
|
2022-10-20 13:30:58 +01:00
|
|
|
width: 100%;
|
|
|
|
background-color: darkslategrey;
|
2022-10-20 20:37:25 +01:00
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
footer p {
|
|
|
|
padding: 0;
|
2022-10-20 21:52:31 +01:00
|
|
|
margin-top: 9px;
|
2022-10-20 13:30:58 +01:00
|
|
|
text-align: center;
|
2022-10-20 20:37:25 +01:00
|
|
|
color: azure;
|
2022-10-20 21:52:31 +01:00
|
|
|
font-family: monospace
|
2022-10-20 13:30:58 +01:00
|
|
|
}
|
2022-10-20 20:37:25 +01:00
|
|
|
@media screen and (min-height: 600px) {
|
2022-10-20 13:32:59 +01:00
|
|
|
footer {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2022-10-20 13:37:00 +01:00
|
|
|
}
|