www/style.css

214 lines
4.5 KiB
CSS
Raw Normal View History

2024-10-05 11:19:01 +03:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Courier New', monospace;
color: #00FFAA;
}
body {
background: url('../background.gif') center center fixed;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
height: auto;
}
.site-header { width: 100%; padding: 10px 0; background-color: rgba(0, 0, 0, 0.85);
position: fixed; top: 0; z-index: 10; text-align: center; overflow-x: auto; }
2024-10-05 15:42:50 +03:00
.nav ul { list-style: none; display: flex;
justify-content: center;
gap: 20px;
}
2024-10-05 11:19:01 +03:00
.nav a { text-decoration: none; color: #00FFAA; font-size: 1.2rem; text-shadow: 1px 1px 2px #000; padding: 10px; }
.nav a:hover { color: #FF00FF; }
.container {
text-align: center;
padding: 2rem;
border: 2px solid #00FFAA;
width: 85%;
max-width: 800px;
border-radius: 60px;
background: linear-gradient(45deg, #000033, #500033);
box-shadow: 0px 0px 20px 5px #00FFAA;
margin-top: 60px;
margin-bottom: 100px;.
overflow-y: auto;
}
.title {
font-size: 2.5rem;
color: #00FFAA;
text-shadow: 2px 2px 5px #FF00FF;
height: auto;
margin-top: 1rem;
}
.intro {
margin: 10px 0;
color: #FFF;
}
2024-10-05 16:03:25 +03:00
.unintro {
margin: 0;
text-align: left;
color: #FFF;
text-shadow: 2px 2px 5px #000;
offset: path('M 50 80 C 150 -20 250 180 350 80') 150px -30deg / 0% 50%;
}
2024-10-05 15:42:50 +03:00
.links {
justify-content: center;
text-align: center;
width: 80%;
margin: auto;
2024-10-05 11:19:01 +03:00
2024-10-05 15:42:50 +03:00
}
2024-10-05 11:19:01 +03:00
.glitch {
position: relative;
font-size: 2rem;
color: #00FFAA;
background-color: #222;
border: 1px solid #00FFAA;
display: inline-block;
padding: 10px;
animation: glitch 1.5s infinite;
border-radius: 5px;
}
.glitch span {
position: absolute;
top: 0;
left: 2px;
color: #FF00FF;
clip: rect(0, 900px, 0, 0);
animation: glitch-top 2s infinite linear alternate-reverse;
}
.content-area {
margin-top: 30px;
}
.gallery {
margin-bottom: 30px;
width: 100%
}
.content-area h2, .gallery h2, .blog h2 {
color: #FF00FF;
text-shadow: 2px 2px 5px #000;
font-size: 2rem;
}
.image-grid {
margin-top: 10px;
width: auto;
/* display: flex; */
gap: 15px;
justify-content: center;
}
.image-grid img {
width: 200px;
height: 200px;
border: 2px solid #00FFAA;
object-fit: cover;
box-shadow: 0 0 10px #FF00FF;
transition: 0.3s ease-in;
}
.image-grid img:hover {
border: 2px solid #FFAAFF;
box-shadow: 0 0 10px #00FFAA;
}
.image-grid a {
}
.blog {
padding-top: 0px;
}
.blog-post {
2024-10-05 12:04:13 +03:00
padding: 10px;
2024-10-05 11:19:01 +03:00
}
.blog-post h4 {
font-size: 1.3rem;
2024-10-05 12:04:13 +03:00
padding: 5px;
2024-10-05 11:19:01 +03:00
color: #00FFAA;
}
.blog-post h3 {
font-size: 1.8rem;
color: #00FFAA;
padding-bottom: 5px;
padding-top: 5px;
}
.blog-post-spacer { padding: 3px; }
.blog-post p, .gallery p {
color: #FFF;
padding: 3px;
}
.blog a {
text-decoration: none;
margin-top: 10px;
margin-bottom: 10px;
background-color: rgba(34, 34, 34, 0.85);
color: inherit; /* Inherit the text color from the parent */
display: block; /* Make the anchor tag take up the full space */
transition: 0.3s;
border-radius: 10px;
border: 1px solid #00FFAA;
}
.blog a:hover {
background-color: rgba(255, 0, 170, 0.2); /* Change background color on hover */
box-shadow: 0 0 10px #00FFAA; /* Add glow on hover */
cursor: pointer; /* Change cursor to pointer */
}
@keyframes glitch {
0% { transform: translate(0); }
20% { transform: translate(-2px, 2px); }
40% { transform: translate(-2px, -2px); }
60% { transform: translate(2px, 2px); }
80% { transform: translate(2px, -2px); }
100% { transform: translate(0); }
}
@keyframes glitch-top {
0% { clip: rect(0, 999px, 0, 0); }
10% { clip: rect(0, 999px, 15px, 0); }
20% { clip: rect(0, 999px, 5px, 0); }
30% { clip: rect(0, 999px, 10px, 0); }
40% { clip: rect(0, 999px, 0, 0); }
}
.retro-button {
display: inline-block;
margin: 15px;
padding: 10px 20px;
background-color: #00FFAA;
border: 2px solid #FF00FF;
color: #000;
font-size: 1.2rem;
text-decoration: none;
text-shadow: 1px 1px 2px #000;
transition: background 0.3s, border 0.3s;
border-radius: 5px;
}
.retro-button:hover {
background-color: #FF00FF;
border-color: #00FFAA;
color: #FFF;
box-shadow: 0 0 10px #FF00FF;
}
.footer {
margin-top: 20px;
font-size: 0.9rem;
color: #FFF;
}
.footer a {
transition: 0.3s;
color: #FF00FF;
}
.footer a:hover {
color: #00FFAA;
}