site updates
All checks were successful
Swaous.Asuscomm Build / Build-Docker-Image (push) Successful in 35s
All checks were successful
Swaous.Asuscomm Build / Build-Docker-Image (push) Successful in 35s
This commit is contained in:
@@ -29,6 +29,7 @@ body > div {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 100px;
|
||||
margin-bottom: 100px;
|
||||
background-color: hsl(225, 30%, 26%);
|
||||
border-radius: 100px;
|
||||
box-shadow: 0px 0px 50px black;
|
||||
@@ -43,48 +44,12 @@ body > div {
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
#toplogo > img {
|
||||
#toplogo img {
|
||||
height: 128px;
|
||||
}
|
||||
|
||||
#nav {
|
||||
position: sticky;
|
||||
top: 0px;
|
||||
display: flex;
|
||||
width: max-content;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
border-bottom: 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;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#nav > a > img {
|
||||
height: calc(1em + 20px);
|
||||
}
|
||||
|
||||
#nav > a:has(> img) {
|
||||
padding: 0px;
|
||||
background-color: transparent;
|
||||
transition: margin 0.5s;
|
||||
}
|
||||
|
||||
#nav > a:has(> img):hover {
|
||||
margin-bottom: 10px;
|
||||
margin-top: -10px;
|
||||
background-color: transparent;
|
||||
padding-left: 10%;
|
||||
padding-right: 10%;
|
||||
padding-bottom: 10%;
|
||||
border-bottom: 2px solid white;
|
||||
}
|
||||
|
||||
h1:not(.scrolly-visible)+#nav { /* sticky stuck! */
|
||||
@@ -113,4 +78,22 @@ h1, h2 {
|
||||
|
||||
p {
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
background-image: linear-gradient(transparent 0%, transparent 50%, white 50%, white 100%);
|
||||
background-size: 100% 200%;
|
||||
background-position: 0px -2px;
|
||||
transition: background-position 0.1s, color 0.1s;
|
||||
}
|
||||
|
||||
a:has(img) {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-position: 0px 100%;
|
||||
color: black;
|
||||
}
|
||||
Reference in New Issue
Block a user