website/v4/css/style.css

78 lines
1.2 KiB
CSS
Raw Normal View History

2023-02-27 13:15:43 +01:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2023-03-05 02:06:45 +01:00
body {
display: flex;
flex-direction: column;
min-height: 100vh;
2023-03-05 14:35:00 +01:00
font-family: 'Source Code Pro', monospace;
background: black;
color: white;
border: 1px solid purple;
2023-03-05 02:06:45 +01:00
}
html {
overflow-y: scroll !important;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
scroll-behavior: smooth;
}
*::-webkit-scrollbar {
width: 5px;
}
*::-webkit-scrollbar-thumb {
background-color: #ffffff;
border-radius: 20px;
}
*::-webkit-scrollbar-track {
background: #000000;
}
2023-02-27 13:15:43 +01:00
.nav {
position: relative;
2023-02-27 13:15:43 +01:00
display: flex;
2023-03-05 02:06:45 +01:00
border: 1px solid red;
padding: 1rem;
justify-content: space-between;
isolation: isolate;
2023-02-27 13:15:43 +01:00
}
2023-03-05 17:45:43 +01:00
.nav .logo img {
height: 3rem;
border: 1px solid orange;
}
.nav .links {
display: flex;
align-items: center;
justify-content: center;
2023-03-05 17:45:43 +01:00
gap: 1rem;
border: 1px solid orange;
z-index: -1;
}
@media (min-width: 400px) {
.nav .links {
position: absolute;
inset: 0;
}
2023-03-05 17:45:43 +01:00
}
2023-03-05 02:06:45 +01:00
.content {
border: 1px solid green;
padding: 2rem 1rem;
2023-03-05 02:06:45 +01:00
}
2023-02-27 13:15:43 +01:00
2023-03-05 02:06:45 +01:00
footer {
display: flex;
2023-03-05 14:35:00 +01:00
width: 100vw;
2023-03-05 02:06:45 +01:00
justify-content: center;
align-items: center;
align-self: flex-end;
2023-03-05 14:35:00 +01:00
border: 1px solid cyan;
margin-top: auto;
2023-03-05 02:06:45 +01:00
}