beta-website/assets/index.css

450 lines
8.0 KiB
CSS
Raw Normal View History

2024-10-28 07:19:17 +01:00
:root {
--bg-color: #0a0a0a;
--border-color: #2a5a5a;
--text-muted: #88aaaa;
--text-bright: #c5e5e5;
--glow-color: rgba(42, 90, 90, 0.4);
}
@keyframes pulse {
0% {
box-shadow: 0 0 5px var(--glow-color);
}
50% {
box-shadow: 0 0 20px var(--glow-color);
}
100% {
box-shadow: 0 0 5px var(--glow-color);
}
}
2024-10-27 13:46:56 +01:00
html {
scroll-snap-type: y mandatory;
scroll-behavior: smooth;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
body {
2024-10-28 07:19:17 +01:00
background: var(--bg-color);
color: var(--text-bright);
2024-10-27 13:46:56 +01:00
font-family: "Courier New", monospace;
margin: 0;
padding: 0;
min-height: 100vh;
2024-10-28 07:19:17 +01:00
position: relative;
overflow-x: hidden;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: repeating-linear-gradient(
0deg,
rgba(0, 0, 0, 0.1),
rgba(0, 0, 0, 0.1) 1px,
transparent 1px,
transparent 2px
);
pointer-events: none;
z-index: 1000;
2024-10-27 13:46:56 +01:00
}
.terminal {
margin-left: 80px;
padding: 20px;
max-width: 800px;
2024-10-28 07:19:17 +01:00
position: relative;
}
.terminal::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 1px solid var(--border-color);
pointer-events: none;
opacity: 0.5;
clip-path: polygon(0 2%, 98% 0, 100% 98%, 2% 100%);
2024-10-27 13:46:56 +01:00
}
.sidebar {
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: 80px;
2024-10-28 07:19:17 +01:00
background: var(--bg-color);
border-right: 1px solid var(--border-color);
2024-10-27 13:46:56 +01:00
display: flex;
flex-direction: column;
align-items: center;
padding-top: 20px;
z-index: 1000;
2024-10-28 07:19:17 +01:00
box-shadow: 1px 0 15px var(--glow-color);
clip-path: polygon(0 0, 90% 0, 100% 2%, 100% 98%, 90% 100%, 0 100%);
2024-10-27 13:46:56 +01:00
}
.nav-icon {
2024-10-28 07:19:17 +01:00
color: var(--text-muted);
2024-10-27 13:46:56 +01:00
cursor: pointer;
margin: 20px 0;
font-size: 24px;
transition: color 0.3s ease;
text-decoration: none;
}
.nav-icon:hover {
2024-10-28 07:19:17 +01:00
color: var(--text-bright);
2024-10-27 13:46:56 +01:00
}
.section {
height: 100vh;
padding: 20px 0;
scroll-snap-align: start;
scroll-snap-stop: always;
position: relative;
overflow-y: auto;
}
#contact {
height: auto;
min-height: 100vh;
}
2024-10-28 07:19:17 +01:00
.section-title {
color: var(--text-muted);
margin-bottom: 20px;
font-size: 1.2em;
display: flex;
align-items: center;
position: relative;
padding-left: 20px;
}
.section-title::before {
content: "◈";
position: absolute;
left: 0;
color: var(--text-bright);
text-shadow: 0 0 10px var(--glow-color);
background: none;
}
2024-10-27 13:46:56 +01:00
.header {
2024-10-28 07:19:17 +01:00
border-bottom: 1px solid var(--border-color);
2024-10-27 13:46:56 +01:00
padding-bottom: 10px;
margin-bottom: 20px;
2024-10-28 07:19:17 +01:00
position: relative;
}
.header::after {
content: "";
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 1px;
background: linear-gradient(
90deg,
transparent,
var(--text-bright),
transparent
);
animation: pulse 2s infinite;
2024-10-27 13:46:56 +01:00
}
.timestamp {
font-size: 0.9em;
2024-10-28 07:19:17 +01:00
color: var(--text-muted);
font-family: "Courier New", monospace;
2024-10-27 13:46:56 +01:00
}
.location {
margin-top: 4px;
2024-10-28 07:19:17 +01:00
color: var(--text-muted);
2024-10-27 13:46:56 +01:00
}
2024-10-28 07:19:17 +01:00
.entry-list {
margin-top: 10px;
2024-10-27 13:46:56 +01:00
}
2024-10-28 07:19:17 +01:00
.nested-entries {
margin-left: 20px;
margin-top: 5px;
border-left: 1px solid var(--border-color);
padding-left: 15px;
2024-10-27 13:46:56 +01:00
position: relative;
}
2024-10-28 07:19:17 +01:00
.nested-entries::before {
content: "";
position: absolute;
left: -1px;
top: 0;
bottom: 0;
width: 1px;
background: var(--border-color);
box-shadow: 0 0 8px var(--glow-color);
2024-10-27 13:46:56 +01:00
}
2024-10-28 07:19:17 +01:00
.entry {
margin: 10px 0;
padding-left: 20px;
position: relative;
2024-10-27 13:46:56 +01:00
}
2024-10-28 07:19:17 +01:00
.entry::before {
content: "▹";
position: absolute;
left: 0;
margin-right: 10px;
2024-10-27 13:46:56 +01:00
}
2024-10-28 07:19:17 +01:00
.entry-link {
color: inherit;
text-decoration: none;
transition: all 0.3s ease;
position: relative;
2024-10-27 13:46:56 +01:00
}
2024-10-28 07:19:17 +01:00
.entry-link:hover {
color: var(--text-bright);
2024-10-27 13:46:56 +01:00
}
2024-10-28 07:19:17 +01:00
.entry-link::after {
content: "";
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 1px;
background: var(--text-bright);
transform: scaleX(0);
transform-origin: right;
transition: transform 0.3s ease;
2024-10-27 13:46:56 +01:00
}
2024-10-28 07:19:17 +01:00
.entry-link:hover::after {
transform: scaleX(1);
transform-origin: left;
2024-10-27 13:46:56 +01:00
}
2024-10-27 19:19:11 +01:00
.project-item,
2024-10-27 13:46:56 +01:00
.status-item {
2024-10-28 07:19:17 +01:00
border: 1px solid var(--border-color);
2024-10-27 19:19:11 +01:00
padding: 15px;
margin: 15px 0;
cursor: pointer;
2024-10-28 07:19:17 +01:00
transition:
border-color 0.3s ease,
background-color 0.3s ease;
2024-10-27 19:19:11 +01:00
position: relative;
background: rgba(42, 90, 90, 0.05);
2024-10-28 07:19:17 +01:00
clip-path: polygon(
0 0,
98% 0,
100% 15px,
100% 100%,
2% 100%,
0 calc(100% - 15px)
);
2024-10-27 19:19:11 +01:00
}
.project-item:hover,
.status-item:hover {
2024-10-28 07:19:17 +01:00
border-color: var(--text-bright);
2024-10-27 19:19:11 +01:00
background: rgba(42, 90, 90, 0.1);
}
2024-10-28 07:19:17 +01:00
.project-header {
2024-10-27 19:19:11 +01:00
display: flex;
justify-content: space-between;
align-items: center;
}
2024-10-28 07:19:17 +01:00
.project-header .entry::before {
2024-10-27 19:19:11 +01:00
content: "⎔";
2024-10-28 07:19:17 +01:00
color: var(--text-muted);
2024-10-27 19:19:11 +01:00
}
.expand-icon {
2024-10-28 07:19:17 +01:00
color: var(--text-muted);
2024-10-27 19:19:11 +01:00
transition: transform 0.3s ease;
}
2024-10-28 07:19:17 +01:00
.project-item.expanded .expand-icon {
2024-10-27 19:19:11 +01:00
transform: rotate(45deg);
}
2024-10-28 07:19:17 +01:00
.project-content {
2024-10-27 19:19:11 +01:00
max-height: 0;
overflow: hidden;
transition:
max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
opacity 0.3s ease,
transform 0.3s ease;
margin-top: 10px;
opacity: 0;
transform: translateY(-10px);
}
2024-10-28 07:19:17 +01:00
.project-content.expanded {
2024-10-27 19:19:11 +01:00
max-height: 500px;
opacity: 1;
transform: translateY(0);
}
2024-10-28 07:19:17 +01:00
.project-link {
display: inline-block;
color: var(--text-bright);
text-decoration: none;
padding: 10px 15px;
border: 1px solid var(--border-color);
transition:
border-color 0.3s ease,
background-color 0.3s ease;
background: rgba(42, 90, 90, 0.05);
margin-top: 10px;
position: relative;
overflow: hidden;
}
.project-link:hover {
border-color: var(--text-bright);
background: rgba(42, 90, 90, 0.1);
}
.status-grid {
display: grid;
gap: 15px;
2024-10-27 13:46:56 +01:00
}
.status-indicator {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 10px;
}
.status-online {
background-color: #4caf50;
box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}
.status-offline {
background-color: #f44336;
box-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}
.status-warning {
background-color: #ff9800;
box-shadow: 0 0 10px rgba(255, 152, 0, 0.3);
}
2024-10-28 07:19:17 +01:00
.status-details {
max-height: 0;
overflow: hidden;
transition:
max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
opacity 0.3s ease,
transform 0.3s ease;
2024-10-27 15:49:43 +01:00
margin-top: 10px;
2024-10-28 07:19:17 +01:00
opacity: 0;
transform: translateY(-10px);
2024-10-27 15:49:43 +01:00
}
2024-10-28 07:19:17 +01:00
.status-details.expanded {
max-height: 500px;
opacity: 1;
transform: translateY(0);
2024-10-27 15:49:43 +01:00
}
2024-10-27 13:46:56 +01:00
.contact-links {
display: flex;
flex-direction: column;
gap: 20px;
margin-top: 20px;
}
.contact-link {
display: flex;
align-items: center;
2024-10-28 07:19:17 +01:00
color: var(--text-bright);
2024-10-27 13:46:56 +01:00
text-decoration: none;
padding: 15px;
2024-10-28 07:19:17 +01:00
border: 1px solid var(--border-color);
transition:
border-color 0.3s ease,
background-color 0.3s ease;
2024-10-27 13:46:56 +01:00
background: rgba(42, 90, 90, 0.05);
2024-10-28 07:19:17 +01:00
clip-path: polygon(
0 0,
98% 0,
100% 15px,
100% 100%,
2% 100%,
0 calc(100% - 15px)
);
2024-10-27 13:46:56 +01:00
}
.contact-link:hover {
2024-10-28 07:19:17 +01:00
border-color: var(--text-bright);
2024-10-27 13:46:56 +01:00
background: rgba(42, 90, 90, 0.1);
}
.contact-icon {
margin-right: 15px;
font-size: 24px;
}
2024-10-28 07:19:17 +01:00
@media (max-width: 768px) {
.terminal {
margin-left: 60px;
padding: 15px;
}
.sidebar {
width: 60px;
}
.nav-icon {
font-size: 20px;
}
.project-item,
.contact-link,
.status-item {
padding: 10px;
}
}
@media (max-width: 480px) {
.terminal {
margin-left: 50px;
padding: 10px;
}
.sidebar {
width: 50px;
}
.nav-icon {
font-size: 18px;
margin: 15px 0;
}
.section-title {
font-size: 1em;
}
}