fredboniface.co.uk/style/new_style.css

39 lines
737 B
CSS
Raw Normal View History

2022-10-18 11:45:25 +01:00
html {
height: 100%;
}
body {
2022-10-19 14:11:11 +01:00
height: 100%;
width: 100%;
margin: auto;
2022-10-18 11:45:25 +01:00
}
2022-10-19 14:15:38 +01:00
#header_image_home {
2022-10-19 13:40:09 +01:00
background-color: rgb(29,49,49);
2022-10-19 14:11:11 +01:00
background-image: url("https://via.placeholder.com/1200x400.webp");
2022-10-19 13:40:09 +01:00
background-repeat: no-repeat;
background-position: center;
2022-10-19 14:11:11 +01:00
height: 275px;
min-width: 100%;
max-width: 100%;
margin: auto;
position: sticky;
2022-10-19 14:22:28 +01:00
top: -170px;
2022-10-18 11:45:25 +01:00
}
2022-10-19 14:15:38 +01:00
#page_title { /* This needs to be bottom center of header-image-home/header-image */
2022-10-18 11:45:25 +01:00
font-family: sans-serif;
font-size: 4vw;
2022-10-19 14:22:28 +01:00
width: 100%;
2022-10-18 12:48:35 +01:00
text-align: center;
2022-10-19 14:11:11 +01:00
position: absolute;
2022-10-19 14:22:28 +01:00
bottom: -14px;
2022-10-18 11:45:25 +01:00
box-shadow: 3px;
2022-10-18 12:48:35 +01:00
color: azure;
2022-10-19 11:51:07 +01:00
}
2022-10-19 14:15:38 +01:00
#content {
2022-10-19 14:11:11 +01:00
margin: auto;
margin-top: 10px;
width: 90%;
2022-10-18 11:45:25 +01:00
}