All checks were successful
Swaous.Asuscomm Build / Build-Docker-Image (push) Successful in 2m35s
96 lines
1.6 KiB
CSS
96 lines
1.6 KiB
CSS
[!][#config.stx]
|
|
|
|
@font-face {
|
|
font-family: milkyway;
|
|
src: url("[^config.baseurl]/milkyway.ttf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: cantarell;
|
|
src: url("[^config.baseurl]/Cantarell-VF.otf");
|
|
}
|
|
|
|
|
|
* {
|
|
font-family: cantarell, sans-serif;
|
|
}
|
|
|
|
|
|
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
background-color: rgb(65, 48, 68);
|
|
display: flex;
|
|
min-height: 100vh;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#main {
|
|
max-width: 800px;
|
|
width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 100px;
|
|
background-color: hsl(225, 30%, 26%);
|
|
border-top-left-radius: 100px;
|
|
border-top-right-radius: 100px;
|
|
box-shadow: 0px 0px 50px black;
|
|
flex: 2;
|
|
padding: 100px;
|
|
box-sizing: border-box;
|
|
color: white;
|
|
}
|
|
|
|
#toplogo {
|
|
text-align: center;
|
|
padding-bottom: 50px;
|
|
}
|
|
|
|
#toplogo > img {
|
|
height: 128px;
|
|
}
|
|
|
|
#nav {
|
|
position: sticky;
|
|
top: 0px;
|
|
display: flex;
|
|
width: max-content;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
border-top: 1px solid white;
|
|
padding: 10px;
|
|
}
|
|
|
|
#nav > a {
|
|
text-decoration: none;
|
|
color: white;
|
|
transition: background-color 0.25s, color 0.25s;
|
|
background-color: rgb(22, 22, 22);
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
h1:not(.scrolly-visible)+#nav { /* sticky stuck! */
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
#nav > a:hover {
|
|
background-color: rgb(199, 199, 199);
|
|
color: black;
|
|
}
|
|
|
|
h1, h2 {
|
|
font-family: milkyway;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
#main {
|
|
margin: 0px;
|
|
border-radius: 0px;
|
|
padding-left: 30px;
|
|
padding-right: 30px;
|
|
}
|
|
} |