mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-12-07 07:03:51 +01:00
💅 style(root): changes in css
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
<path d="M7.646 15.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 14.293V5.5a.5.5 0 0 0-1 0v8.793l-2.146-2.147a.5.5 0 0 0-.708.708z"/>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="/documentation" class="btn glow-on-hover">
|
||||
<a href="/documentation" target="_blank" class="btn glow-on-hover">
|
||||
Documentation
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-journal-text" viewBox="0 0 16 16">
|
||||
<path d="M5 10.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5m0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5"/>
|
||||
|
||||
236
style.css
236
style.css
@@ -26,12 +26,11 @@ body {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
background-color: rgba(26, 31, 44, 0.0);
|
||||
background-color: rgba(26, 31, 44, 0);
|
||||
z-index: 1000;
|
||||
padding-inline:5rem;
|
||||
backdrop-filter:blur(5px);
|
||||
border:
|
||||
}
|
||||
padding-inline: 5rem;
|
||||
backdrop-filter: blur(5px);
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 40px;
|
||||
@@ -41,9 +40,9 @@ a {
|
||||
color: #000;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
a::before {
|
||||
a::before {
|
||||
background: #754ffe;
|
||||
content: "";
|
||||
inset: 0;
|
||||
@@ -52,13 +51,12 @@ a {
|
||||
transform-origin: left;
|
||||
transition: transform 0.5s ease-in-out;
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
|
||||
a:hover::before {
|
||||
a:hover::before {
|
||||
transform: scaleX(1);
|
||||
transform-origin: left;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
@@ -130,11 +128,22 @@ a {
|
||||
}
|
||||
|
||||
.glow-on-hover:before {
|
||||
content: '';
|
||||
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
|
||||
content: "";
|
||||
background: linear-gradient(
|
||||
45deg,
|
||||
#ff0000,
|
||||
#ff7300,
|
||||
#fffb00,
|
||||
#48ff00,
|
||||
#00ffd5,
|
||||
#002bff,
|
||||
#7a00ff,
|
||||
#ff00c8,
|
||||
#ff0000
|
||||
);
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
left:-2px;
|
||||
left: -2px;
|
||||
background-size: 400%;
|
||||
z-index: -1;
|
||||
filter: blur(5px);
|
||||
@@ -142,12 +151,12 @@ a {
|
||||
height: calc(100% + 4px);
|
||||
animation: glowing 20s linear infinite;
|
||||
opacity: 0;
|
||||
transition: opacity .3s ease-in-out;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.glow-on-hover:active {
|
||||
color: #000
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.glow-on-hover:active:after {
|
||||
@@ -160,7 +169,7 @@ a {
|
||||
|
||||
.glow-on-hover:after {
|
||||
z-index: -1;
|
||||
content: '';
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -171,9 +180,15 @@ a {
|
||||
}
|
||||
|
||||
@keyframes glowing {
|
||||
0% { background-position: 0 0; }
|
||||
50% { background-position: 400% 0; }
|
||||
100% { background-position: 0 0; }
|
||||
0% {
|
||||
background-position: 0 0;
|
||||
}
|
||||
50% {
|
||||
background-position: 400% 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
@@ -418,144 +433,142 @@ a {
|
||||
.platform-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.footer {
|
||||
background-color: #000;
|
||||
color: white;
|
||||
padding: 4rem 5% 2rem;
|
||||
margin-top: 4rem;
|
||||
background-color: #000;
|
||||
color: white;
|
||||
padding: 4rem 5% 2rem;
|
||||
margin-top: 4rem;
|
||||
}
|
||||
|
||||
.footer-container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 30px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.switch input {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #ccc;
|
||||
transition: .4s;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #ccc;
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
.slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
left: 4px;
|
||||
bottom: 4px;
|
||||
background-color: white;
|
||||
transition: .4s;
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
left: 4px;
|
||||
bottom: 4px;
|
||||
background-color: white;
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
input:checked + .slider {
|
||||
background-color: var(--primary-blue);
|
||||
background-color: var(--primary-blue);
|
||||
}
|
||||
|
||||
input:checked + .slider:before {
|
||||
transform: translateX(30px);
|
||||
transform: translateX(30px);
|
||||
}
|
||||
|
||||
.slider.round {
|
||||
border-radius: 34px;
|
||||
border-radius: 34px;
|
||||
}
|
||||
|
||||
.slider.round:before {
|
||||
border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 2rem;
|
||||
margin-bottom: 3rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 2rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.footer-section {
|
||||
grid-column: span 1;
|
||||
grid-column: span 1;
|
||||
}
|
||||
|
||||
.footer-section h3 {
|
||||
color: white;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.footer-section ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.footer-section ul li {
|
||||
margin-bottom: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.footer-section a {
|
||||
color: #a0a0a0;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s;
|
||||
font-size: 0.9rem;
|
||||
color: #a0a0a0;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.footer-section a:hover {
|
||||
color: white;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.with-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.with-icon img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
grid-column: span 1;
|
||||
grid-column: span 1;
|
||||
}
|
||||
|
||||
.footer-dragon {
|
||||
width: 100px;
|
||||
height: auto;
|
||||
width: 100px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
text-align: center;
|
||||
padding-top: 2rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
font-size: 0.9rem;
|
||||
color: #a0a0a0;
|
||||
text-align: center;
|
||||
padding-top: 2rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
font-size: 0.9rem;
|
||||
color: #a0a0a0;
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
@@ -564,54 +577,53 @@ color: #a0a0a0;
|
||||
}
|
||||
|
||||
.follow-us {
|
||||
margin-top: 2rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.footer-content {
|
||||
.footer-content {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
.footer-logo {
|
||||
grid-column: 3;
|
||||
grid-row: 1;
|
||||
justify-self: end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.footer-content {
|
||||
.footer-content {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
.footer-logo {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 1;
|
||||
justify-self: center;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.footer-content {
|
||||
.footer-content {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
nav.navbar{
|
||||
}
|
||||
nav.navbar {
|
||||
width: 100%;
|
||||
}
|
||||
.footer-section {
|
||||
}
|
||||
.footer-section {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.with-icon {
|
||||
.with-icon {
|
||||
justify-content: center;
|
||||
}
|
||||
.desktop-card{
|
||||
}
|
||||
.desktop-card {
|
||||
width: 460px;
|
||||
text-align: left;
|
||||
}
|
||||
.desktop-card p {
|
||||
}
|
||||
.desktop-card p {
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user