mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-06 20:55:18 +02:00
💅 style(css+assets): color comb
This commit is contained in:
BIN
assets/background.png
Normal file
BIN
assets/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 50 KiB |
27
style.css
27
style.css
@@ -25,7 +25,7 @@ body {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
background-color: rgba(26, 31, 44, 0.70);
|
||||
background-color: rgba(26, 31, 44, 0.0);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
@@ -33,6 +33,29 @@ body {
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a::before {
|
||||
background: #754ffe;
|
||||
content: "";
|
||||
inset: 0;
|
||||
position: absolute;
|
||||
transform: scaleX(0);
|
||||
transform-origin: right;
|
||||
transition: transform 0.5s ease-in-out;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
a:hover::before {
|
||||
transform: scaleX(1);
|
||||
transform-origin: left;
|
||||
}
|
||||
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
@@ -51,7 +74,7 @@ body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 5%;
|
||||
background-image: url(/assets/background.jpg);
|
||||
background-image: url(/assets/background.png);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background-position: bottom;
|
||||
|
Reference in New Issue
Block a user