mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-24 02:36:02 +10:00
258 lines
4.8 KiB
CSS
258 lines
4.8 KiB
CSS
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background: #242424;
|
|
font-family: monospace;
|
|
background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm2 2v16h16V2H2z' fill='%23000000' fill-opacity='0.05'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.bg-pattern {
|
|
position: fixed;
|
|
inset: 0;
|
|
opacity: 0.05;
|
|
z-index: 0;
|
|
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
|
|
}
|
|
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
padding-top: 100px;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 80px;
|
|
color: #f0f0f0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
|
|
h1 {
|
|
transition: all 0.3s ease;
|
|
text-shadow: 2px 2px 0 #ffffff52, 3px 3px 0 #000;
|
|
margin-bottom: 0.5rem;
|
|
transform-origin: center;
|
|
cursor: pointer;
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.social-links {
|
|
margin-top: 1rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.social-links a {
|
|
margin: 0 10px;
|
|
color: #f0f0f0;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.social-links a:hover {
|
|
color: #2563eb;
|
|
}
|
|
|
|
.post {
|
|
background: white;
|
|
padding: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
border: 2px solid #000;
|
|
position: relative;
|
|
box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1), 6px 6px 0 rgba(0, 0, 0, 0.05);
|
|
transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55),
|
|
box-shadow 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
|
|
}
|
|
|
|
.post-header {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: #f0f0f0;
|
|
border: 2px solid black;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: bold;
|
|
transform: rotate(-2deg);
|
|
box-shadow: 2px 2px 0 #000;
|
|
}
|
|
|
|
.post-content {
|
|
text-shadow: 1px 1px 0 #fff;
|
|
}
|
|
|
|
.image-placeholder {
|
|
margin-top: 1rem;
|
|
border: 4px solid black;
|
|
background: #f0f0f0;
|
|
text-align: center;
|
|
transform: rotate(1deg);
|
|
box-shadow: 4px 4px 0 #000;
|
|
}
|
|
|
|
.post-actions {
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.action-btn {
|
|
border: none;
|
|
background: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.action-btn.like {
|
|
color: #db2777;
|
|
transform: rotate(-1deg);
|
|
}
|
|
|
|
.action-btn.repost {
|
|
color: #2563eb;
|
|
transform: rotate(1deg);
|
|
}
|
|
|
|
.avatar-img {
|
|
width: 250px;
|
|
margin: 20px auto;
|
|
display: block;
|
|
}
|
|
|
|
|
|
.post:hover {
|
|
transform: scale(1.1) translateY(-5px) !important;
|
|
box-shadow: 6px 6px 30px rgba(0, 0, 0, 1);
|
|
}
|
|
|
|
.subtext {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.social-links a {
|
|
margin: 0 10px;
|
|
color: #f0f0f0;
|
|
font-size: 2rem;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.social-links a:hover {
|
|
transform: scale(1.1);
|
|
transition: transform 0.3s ease;
|
|
text-shadow:
|
|
0 0 3px white,
|
|
}
|
|
|
|
.social-links a:hover .fab.fa-github {
|
|
color: #181717;
|
|
}
|
|
|
|
.social-links a:hover .fab.fa-youtube {
|
|
color: #FF0000;
|
|
}
|
|
|
|
.social-links a:hover .fab.fa-steam {
|
|
color: #1b2838;
|
|
}
|
|
|
|
.social-links a:hover .fab.fa-discord {
|
|
color: #7289da;
|
|
}
|
|
|
|
.social-links a:hover .fa-brands.fa-bluesky {
|
|
color: #3E5BFF;
|
|
}
|
|
|
|
@keyframes shake {
|
|
|
|
0%,
|
|
100% {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
25% {
|
|
transform: translateX(-5px) translateY(5px);
|
|
}
|
|
|
|
50% {
|
|
transform: translateX(5px) translateY(-5px);
|
|
}
|
|
|
|
75% {
|
|
transform: translateX(-5px) translateY(-5px);
|
|
}
|
|
}
|
|
|
|
h1:hover {
|
|
animation:
|
|
wildSpin 3s ease-in-out,
|
|
rainbow 3s linear,
|
|
shake 0.5s ease-in-out infinite;
|
|
}
|
|
|
|
.social-links a {
|
|
position: relative;
|
|
}
|
|
|
|
.social-links a::after {
|
|
content: attr(title);
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
color: white;
|
|
padding: 0.3rem;
|
|
border-radius: 0.3rem;
|
|
font-size: 0.875rem;
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.social-links a:hover::after {
|
|
opacity: 1;
|
|
}
|
|
|
|
.project-links {
|
|
margin-top: 2rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.project-links a {
|
|
display: inline-block;
|
|
margin: 0.5rem 0;
|
|
padding: 0.5rem 1rem;
|
|
background: white;
|
|
color: #242424;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
border-radius: 20px;
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
.project-links a:hover {
|
|
background: #2563eb;
|
|
color: white;
|
|
}
|
|
|