mirror of
https://github.com/neon443/neon443.github.io.git
synced 2026-03-11 07:09:12 +00:00
finally settled on a topbar design
This commit is contained in:
19
style.css
19
style.css
@@ -80,17 +80,33 @@
|
|||||||
}
|
}
|
||||||
.barItem h1 {
|
.barItem h1 {
|
||||||
|
|
||||||
|
}
|
||||||
|
.barItem:hover {
|
||||||
|
flex: 1.5;
|
||||||
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
.barItem a:hover {
|
.barItem a:hover {
|
||||||
background-color: #111;
|
background-color: #111;
|
||||||
color: #eee;
|
color: #eee;
|
||||||
|
|
||||||
|
animation-name: NAME;
|
||||||
|
animation-delay: 0.2s;
|
||||||
|
animation-duration: 4s;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
|
||||||
-webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
|
-webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
|
||||||
-moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
|
-moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
|
||||||
box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
|
box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
.bar:has(a:hover) .barItem {
|
.bar:has(a:hover) .barItem {
|
||||||
}
|
}
|
||||||
|
@keyframes wiggleRainbow{
|
||||||
|
0% {background-color:red;}
|
||||||
|
25% {background-color:yellow;}
|
||||||
|
50% {background-color:blue;}
|
||||||
|
75% {background-color:green;}
|
||||||
|
100% {background-color:red;}
|
||||||
|
}
|
||||||
/* Bar styling*/
|
/* Bar styling*/
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
@@ -107,6 +123,9 @@
|
|||||||
.barItem * {
|
.barItem * {
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
}
|
}
|
||||||
|
.barItem:hover {
|
||||||
|
background-color: #555;
|
||||||
|
}
|
||||||
.barItem a:hover {
|
.barItem a:hover {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
color: #111;
|
color: #111;
|
||||||
|
|||||||
Reference in New Issue
Block a user