Files
WebPage/style3.css
TheNightglow 7491ce0e82 test 4
2022-12-13 19:16:57 +01:00

109 lines
1.7 KiB
CSS

.page-head
{
height: 75px;
height: min(75px, 8vw);
}
.page-head div
{
position: fixed;
width: 100%;
background-color: rgba(26, 26, 26, 0.596);
color: white;
padding: 1px;
margin: 0;
vertical-align: middle;
}
.page-head img
{
width: 75px;
width: min(75px, 8vw);
display: inline;
vertical-align: middle;
}
.page-head h1
{
display: inline;
vertical-align: middle;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: min(200%, 4vw);
}
.navigation
{
text-align: center;
padding: 0;
}
.navigation li, .navigation a
{
display: inline-block;
width: 100px;
background-color: rgba(39, 39, 39, 0.596);
color: rgb(177, 177, 147);
font-size: larger;
text-decoration: none;
}
body {
background-color: gray;
margin: 0;
background-image: url('images/logo.png');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center center;
background-size: auto 80%;
}
.center-panel
{
width: 150px;
width: min(800px, 80vw);
margin-left: auto;
margin-right: auto;
background-color: rgba(26, 26, 26, 0.596);
padding: 10px;
border: black;
border-spacing: 3px;
color: rgb(177, 177, 147);
border-style: solid;
position: center center;
vertical-align: middle;
align-self: middle;
}
.center-panel p
{
margin: 0;
color: rgb(177, 177, 147);
font-size: larger;
}
h1
{
font-size: 40px;
color: rgb(177, 177, 147);
}
.test-class
{
font-size: 80px;
}
.test-class p
{
color: rgb(177, 177, 147);
}
.footer
{
position: fixed;
bottom: 0;
left: 10px;
font-size: max(10px, min(20px, 0.8vw));
}