62 lines
1.5 KiB
CSS
Raw Normal View History

2024-10-10 17:37:22 +09:00
:root {
2024-10-11 17:17:57 +09:00
--WindowFull : 100%;
--TopHeight: 160px;
--FooterHeight: 160px;
--ContentVerticalMargin: 5px;
}
input, select ,button{
color: white;
background: #2d2f34;
border: black;
border-width: 1px;
padding: 0;
margin: 0;
position: relative;
2024-10-10 17:37:22 +09:00
}
2024-10-05 19:42:29 +09:00
body, html {
2024-10-10 17:37:22 +09:00
background-color: black;
margin: 0px;
height: 100lvh;
2024-10-05 19:42:29 +09:00
}
2024-10-10 17:37:22 +09:00
header {
2024-10-11 17:17:57 +09:00
width: 100%;
2024-10-10 17:37:22 +09:00
align-content: center;
position: relative;
height: var(--TopHeight);
2024-10-11 17:17:57 +09:00
background-image: url("../blog/post/images/42cc3207-42a4-4ceb-8a2f-f5f7a89496fc.jpg");
background-repeat: revert;
background-size: contain;
background-origin: revert;
2024-10-10 17:37:22 +09:00
}
#content {
2024-10-11 17:17:57 +09:00
margin-left: 2.5%;
margin-right: 2.5%;
2024-10-10 17:37:22 +09:00
position: relative;
2024-10-11 17:17:57 +09:00
overflow-y: auto;
overflow-x: clip;
background: black;
min-height: calc((var(--TopHeight) + var(--FooterHeight)) * 2);
2024-10-10 17:37:22 +09:00
height: calc(var(--WindowFull) - calc(var(--FooterHeight) + var(--TopHeight)));
2024-10-11 17:17:57 +09:00
background-image: url("../blog/post/images/bb109b5a-f907-4da1-9c4f-55533395ed6e.jpg");
background-repeat: revert;
background-size: contain;
background-origin: revert;
2024-10-05 19:42:29 +09:00
}
2024-10-10 17:37:22 +09:00
#content > * {
2024-10-11 17:17:57 +09:00
margin-top: var(--ContentVerticalMargin);
margin-bottom: var(--ContentVerticalMargin);
2024-10-05 19:42:29 +09:00
}
2024-10-10 17:37:22 +09:00
footer {
2024-10-11 17:17:57 +09:00
width: 100%;
2024-10-10 17:37:22 +09:00
align-content: center;
position: relative;
height: var(--FooterHeight);
2024-10-11 17:17:57 +09:00
background-image: url("../blog/post/images/42cc3207-42a4-4ceb-8a2f-f5f7a89496fc.jpg");
background-repeat: revert;
background-size: contain;
transform: scaleY(-1);
2024-10-05 19:42:29 +09:00
}