network-website/assets/style.css

112 lines
2.2 KiB
CSS
Raw Normal View History

2024-06-05 16:39:24 +02:00
@font-face {
font-family: 'workbench';
src: url('../assets/font.woff2') format('woff2');
2024-06-05 16:39:24 +02:00
}
2024-06-05 23:30:14 +02:00
@media (min-width: 600px){
body {
background-color: #2e2e2e;
background-image:
linear-gradient(to bottom,
#000000,
#1a5c008a,
#000000
);
background-size: 100% 3px;
background-repeat: repeat-y;
margin: 0;
font-family: 'workbench', sans-serif;
}
}
@media (max-width: 600px){
body {
background-color: #2e2e2e;
background-image:
linear-gradient(to bottom,
#000000,
#1a5c008a,
#000000
);
background-size: 100% 3.5px;
background-repeat: repeat-y;
margin: 0;
font-family: 'workbench', sans-serif;
}
2024-06-05 16:39:24 +02:00
}
.navbar {
background:
radial-gradient(
farthest-corner at 50% 50%,
rgba(0, 0, 0, 0.6),
2024-06-05 23:25:29 +02:00
rgba(20, 20, 20, 0.7) 50%,
rgba(40, 40, 40, 0.6) 100%
);
background-size: 100% 300px;
background-position: 0% 100%;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
2024-06-05 22:14:01 +02:00
pointer-events: none;
}
.logo {
font-size: 1.5rem;
color: #33ccffca;
text-shadow: 0 0 10px #33ccffbe;
}
.nav-links {
list-style: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
}
.nav-links li {
margin-right: 20px;
}
.nav-links a {
font-size: 1.2rem;
2024-06-05 21:53:45 +02:00
color: #33ccffab;
text-decoration: none;
transition: color 0.2s ease;
text-shadow: 0 0 3px #33ccffaf;
2024-06-05 22:14:01 +02:00
pointer-events: initial;
}
.nav-links a:hover {
2024-06-05 23:25:29 +02:00
color: #33ccff;
}
2024-06-05 22:14:01 +02:00
.ascii-art-container {
position: fixed;
top: 50%;
2024-06-05 23:36:25 +02:00
left: 50% !important;
transform: translate(-50%, -50%);
2024-06-05 21:53:45 +02:00
font-size: 10vmin;
font-family: 'Courier New', monospace;
color: #33ccffab;
text-shadow: 0 0 3px #33ccffaf;
padding: 10px;
white-space: pre;
pointer-events: none;
2024-06-05 21:53:45 +02:00
max-width: 90%;
max-height: 90%;
overflow: hidden;
}
2024-06-05 21:53:45 +02:00
@media (max-width: 600px) {
2024-06-05 23:25:29 +02:00
.ascii-art-container {
top: 60% !important;
2024-06-05 23:30:14 +02:00
text-shadow: 0 0 3px #33ccffaf !important;
2024-06-05 23:25:29 +02:00
}
2024-06-05 21:53:45 +02:00
.navbar {
flex-direction: column;
align-items: center;
2024-06-06 00:43:38 +02:00
background: transparent;
2024-06-05 21:53:45 +02:00
}
2024-06-05 21:53:45 +02:00
.nav-links {
flex-direction: column;
align-items: center;
2024-06-05 16:39:24 +02:00
}
2024-06-05 21:53:45 +02:00
.nav-links li {
margin: 5px 0;
}
}