website/assets/index.css

890 lines
18 KiB
CSS
Raw Normal View History

2024-11-03 23:17:56 +01:00
:root {
--bg-color: #0a0a0a;
--border-color: #2a5a5a;
--text-muted: #88aaaa;
--text-bright: #cef0f0;
2024-11-04 12:11:42 +01:00
--glow-color: rgba(42, 90, 90, 0.6);
2024-11-03 23:17:56 +01:00
}
@keyframes pulse {
0% {
box-shadow: 0 0 5px var(--glow-color);
2024-11-04 12:11:42 +01:00
opacity: 0.5;
2024-11-03 23:17:56 +01:00
}
50% {
box-shadow: 0 0 10px var(--glow-color);
opacity: 1;
}
100% {
box-shadow: 0 0 5px var(--glow-color);
2024-11-04 12:11:42 +01:00
opacity: 0.5;
2024-11-03 23:17:56 +01:00
}
}
@keyframes slideInBorder {
0% {
width: 0;
opacity: 0.2;
}
100% {
width: 100%;
opacity: 1;
}
}
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 {
background: var(--bg-color);
color: var(--text-bright);
font-family: "Courier New", monospace;
margin: 0;
padding: 0;
min-height: 100vh;
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;
}
.terminal {
margin-left: 80px;
padding: 20px;
max-width: 800px;
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%);
}
.sidebar {
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: 80px;
background: var(--bg-color);
border-right: 1px solid var(--border-color);
display: flex;
flex-direction: column;
align-items: center;
padding-top: 20px;
z-index: 1000;
box-shadow: 1px 0 15px var(--glow-color);
clip-path: polygon(0 0, 90% 0, 100% 2%, 100% 98%, 90% 100%, 0 100%);
}
.nav-icon {
color: var(--text-muted);
cursor: pointer;
margin: 20px 0;
text-decoration: none;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
}
.nav-icon .icon {
font-size: 24px;
transition: color 0.3s ease;
}
.nav-icon .nav-label {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
font-size: 10px;
opacity: 0;
transition:
opacity 0.3s ease,
transform 0.3s ease;
white-space: nowrap;
margin-top: 5px;
pointer-events: none;
color: var(--text-muted);
}
.nav-icon.active .nav-label {
opacity: 1;
transform: translateX(-50%) translateY(0);
color: var(--text-muted);
}
.nav-icon:hover .nav-label {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
.nav-icon:hover .icon {
color: var(--text-bright);
}
.nav-icon.active .icon {
color: var(--text-bright);
}
.nav-icon.active {
color: var(--text-bright);
position: relative;
}
.nav-icon:hover {
color: var(--text-bright);
}
.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;
}
.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;
bottom: 1px;
color: var(--text-bright);
text-shadow: 0 0 10px var(--glow-color);
background: none;
}
.header {
border-bottom: none;
padding-bottom: 10px;
margin-bottom: 20px;
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,
slideInBorder 1s ease-out;
}
.timestamp {
font-size: 0.9em;
color: var(--text-muted);
font-family: "Courier New", monospace;
line-height: 1;
}
.location {
margin-top: 4px;
color: var(--text-muted);
padding-bottom: 5px;
2024-11-05 00:02:01 +01:00
transition: opacity 0.3s ease;
min-height: 1.2em; /* no layout shit from js */
2024-11-03 23:17:56 +01:00
}
2024-11-05 00:02:01 +01:00
.location.loading {
opacity: 0;
}
.location.loaded {
opacity: 1;
}
2024-11-03 23:17:56 +01:00
.entry-list {
margin-top: 10px;
}
.nested-entries {
margin-left: 20px;
margin-top: 5px;
border-left: 1px solid var(--border-color);
padding-left: 15px;
position: relative;
}
.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);
}
.entry {
margin: 10px 0;
padding-left: 20px;
position: relative;
}
.entry::before {
content: "▹";
position: absolute;
left: 0;
margin-right: 10px;
}
.entry-link {
color: inherit;
text-decoration: none;
transition: all 0.3s ease;
position: relative;
}
.entry-link:hover {
color: var(--text-bright);
}
.entry-link::after {
content: "";
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(
90deg,
transparent,
var(--text-bright),
var(--text-bright),
transparent
);
transform: scaleX(0);
transform-origin: right;
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
box-shadow: 0 0 8px var(--glow-color);
opacity: 0.8;
}
.entry-link:hover::after {
transform: scaleX(1);
transform-origin: left;
}
.project-item,
.status-item {
border: 1px solid var(--border-color);
padding: 15px;
margin: 15px 0;
cursor: pointer;
transition:
border-color 0.3s ease,
background-color 0.3s ease,
box-shadow 0.3s ease,
transform 0.3s ease;
position: relative;
background: linear-gradient(
135deg,
rgba(42, 90, 90, 0.1),
rgba(42, 90, 90, 0.2)
);
clip-path: polygon(
0 0,
98% 0,
100% 15px,
100% 100%,
2% 100%,
0 calc(100% - 15px)
);
transform: translateZ(20px);
box-shadow:
0 5px 15px rgba(0, 0, 0, 0.4),
0 10px 20px rgba(42, 90, 90, 0.3),
inset 0 1px rgba(255, 255, 255, 0.2),
inset -2px -2px 4px rgba(0, 0, 0, 0.5);
transform-style: preserve-3d;
perspective: 1000px;
backdrop-filter: blur(5px);
border-left: 3px solid rgba(42, 90, 90, 0.6);
border-top: 2px solid rgba(255, 255, 255, 0.15);
}
.project-item:hover,
.status-item:hover {
border-color: var(--text-bright);
background: rgba(42, 90, 90, 0.1);
box-shadow:
0 5px 15px rgba(0, 0, 0, 0.3),
0 10px 20px rgba(42, 90, 90, 0.2),
inset 0 1px rgba(255, 255, 255, 0.2);
transform: translateY(-2px) translateZ(10px);
animation: pulse 2s infinite;
}
.project-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.project-header .entry::before {
content: "◈";
color: var(--text-muted);
text-shadow: 0 0 5px var(--glow-color);
transition: all 0.3s ease;
}
.project-item:hover .project-header .entry::before {
color: var(--text-bright);
text-shadow: 0 0 10px var(--glow-color);
transform: rotate(45deg);
}
.expand-icon {
color: var(--text-muted);
transition: transform 0.3s ease;
}
.project-item.expanded .expand-icon {
transform: rotate(45deg);
}
.project-content {
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);
}
.project-content.expanded {
max-height: 500px;
opacity: 1;
transform: translateY(0);
}
.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;
}
.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);
}
.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;
margin-top: 10px;
opacity: 0;
transform: translateY(-10px);
}
.status-details.expanded {
max-height: 500px;
opacity: 1;
transform: translateY(0);
}
.contact-links {
display: flex;
flex-direction: column;
gap: 20px;
margin-top: 20px;
}
.contact-link {
border: 1px solid var(--border-color);
2024-11-04 12:11:42 +01:00
padding: 15px;
margin: 15px 0;
cursor: pointer;
2024-11-03 23:17:56 +01:00
transition:
border-color 0.3s ease,
2024-11-04 12:11:42 +01:00
background-color 0.3s ease,
box-shadow 0.3s ease,
transform 0.3s ease;
position: relative;
background: linear-gradient(
135deg,
rgba(42, 90, 90, 0.1),
rgba(42, 90, 90, 0.2)
);
2024-11-03 23:17:56 +01:00
clip-path: polygon(
0 0,
98% 0,
100% 15px,
100% 100%,
2% 100%,
0 calc(100% - 15px)
);
2024-11-04 12:11:42 +01:00
transform: translateZ(20px);
box-shadow:
0 5px 15px rgba(0, 0, 0, 0.4),
0 10px 20px rgba(42, 90, 90, 0.3),
inset 0 1px rgba(255, 255, 255, 0.2),
inset -2px -2px 4px rgba(0, 0, 0, 0.5);
transform-style: preserve-3d;
perspective: 1000px;
backdrop-filter: blur(5px);
border-left: 3px solid rgba(42, 90, 90, 0.6);
border-top: 2px solid rgba(255, 255, 255, 0.15);
2024-11-03 23:17:56 +01:00
}
.contact-link:hover {
border-color: var(--text-bright);
background: rgba(42, 90, 90, 0.1);
2024-11-04 12:11:42 +01:00
box-shadow:
0 5px 15px rgba(0, 0, 0, 0.3),
0 10px 20px rgba(42, 90, 90, 0.2),
inset 0 1px rgba(255, 255, 255, 0.2);
transform: translateY(-2px) translateZ(10px);
animation: pulse 2s infinite;
2024-11-03 23:17:56 +01:00
}
.contact-icon {
margin-right: 15px;
font-size: 24px;
}
@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;
}
}
.status-average {
font-size: 0.9em;
color: var(--text-muted);
font-family: "Courier New", monospace;
margin-top: 4px;
color: var(--text-muted);
}
.header-metrics {
display: flex;
align-items: baseline;
gap: 10px;
color: var(--text-muted);
font-size: 0.9em;
font-family: "Courier New", monospace;
line-height: 1;
}
.separator {
color: var(--border-color);
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.contact-grid {
display: grid;
gap: 20px;
margin-top: 20px;
2024-11-04 23:16:45 +01:00
max-width: 800px;
2024-11-04 15:42:18 +01:00
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.contact-card {
background: linear-gradient(
2024-11-04 23:16:45 +01:00
145deg,
2024-11-04 15:42:18 +01:00
rgba(42, 90, 90, 0.05) 0%,
2024-11-04 23:16:45 +01:00
rgba(42, 90, 90, 0.15) 100%
2024-11-04 15:42:18 +01:00
);
border: 1px solid var(--border-color);
clip-path: polygon(
0 0,
2024-11-04 23:16:45 +01:00
98% 0,
100% 15px,
2024-11-04 15:42:18 +01:00
100% 100%,
2024-11-04 23:16:45 +01:00
2% 100%,
0 calc(100% - 15px)
2024-11-04 15:42:18 +01:00
);
2024-11-04 23:16:45 +01:00
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow:
0 5px 15px rgba(0, 0, 0, 0.2),
0 0 30px rgba(42, 90, 90, 0.1),
inset 0 1px rgba(255, 255, 255, 0.1);
position: relative;
backdrop-filter: blur(5px);
}
.contact-card:hover {
transform: translateY(-2px);
box-shadow:
0 8px 20px rgba(0, 0, 0, 0.3),
0 0 40px rgba(42, 90, 90, 0.2),
inset 0 1px rgba(255, 255, 255, 0.2);
border-color: var(--text-bright);
2024-11-04 15:42:18 +01:00
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.contact-header {
2024-11-04 23:16:45 +01:00
padding: 20px;
2024-11-04 15:42:18 +01:00
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
2024-11-04 23:16:45 +01:00
background: rgba(42, 90, 90, 0.1);
2024-11-04 15:42:18 +01:00
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.contact-type {
color: var(--text-bright);
2024-11-04 23:16:45 +01:00
font-size: 1em;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
2024-11-04 15:42:18 +01:00
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.contact-content {
2024-11-04 23:16:45 +01:00
padding: 20px;
2024-11-04 15:42:18 +01:00
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.contact-method {
display: flex;
align-items: center;
2024-11-04 23:16:45 +01:00
padding: 15px;
margin: 10px 0;
2024-11-04 15:42:18 +01:00
text-decoration: none;
color: var(--text-muted);
2024-11-04 23:16:45 +01:00
background: rgba(42, 90, 90, 0.05);
border-left: 2px solid var(--border-color);
2024-11-04 15:42:18 +01:00
transition: all 0.3s ease;
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.contact-method:hover {
color: var(--text-bright);
2024-11-04 23:16:45 +01:00
background: rgba(42, 90, 90, 0.15);
border-left: 2px solid var(--text-bright);
padding-left: 20px;
2024-11-04 15:42:18 +01:00
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.method-icon {
font-size: 1.2em;
margin-right: 15px;
color: var(--text-bright);
2024-11-04 23:16:45 +01:00
opacity: 0.8;
transition: opacity 0.3s ease;
2024-11-04 15:42:18 +01:00
}
2024-11-04 23:16:45 +01:00
.contact-method:hover .method-icon {
opacity: 1;
}
2024-11-04 15:42:18 +01:00
.method-details {
flex: 1;
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.method-name {
font-size: 0.9em;
margin-bottom: 4px;
2024-11-04 23:16:45 +01:00
color: var(--text-bright);
2024-11-04 15:42:18 +01:00
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
.method-address {
font-size: 0.8em;
color: var(--text-muted);
2024-11-04 23:16:45 +01:00
transition: color 0.3s ease;
2024-11-04 15:42:18 +01:00
}
2024-11-04 23:16:45 +01:00
.contact-method:hover .method-address {
color: var(--text-bright);
}
2024-11-04 15:42:18 +01:00
.connection-indicator {
margin-left: 10px;
transition: transform 0.3s ease;
}
.contact-method:hover .connection-indicator {
transform: translateX(5px);
}
2024-11-04 23:16:45 +01:00
2024-11-04 15:42:18 +01:00
@media (max-width: 768px) {
.contact-grid {
gap: 15px;
}
.contact-method {
padding: 10px;
}
}
@media (max-width: 480px) {
.contact-header {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.method-details {
font-size: 0.9em;
}
}
2024-11-04 23:16:45 +01:00
.project-grid {
display: grid;
gap: 20px;
margin-top: 20px;
max-width: 800px;
}
.project-card {
background: linear-gradient(
145deg,
rgba(42, 90, 90, 0.05) 0%,
rgba(42, 90, 90, 0.15) 100%
);
border: 1px solid var(--border-color);
clip-path: polygon(
0 0,
98% 0,
100% 15px,
100% 100%,
2% 100%,
0 calc(100% - 15px)
);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow:
0 5px 15px rgba(0, 0, 0, 0.2),
0 0 30px rgba(42, 90, 90, 0.1),
inset 0 1px rgba(255, 255, 255, 0.1);
position: relative;
backdrop-filter: blur(5px);
}
.project-card:hover {
transform: translateY(-2px);
box-shadow:
0 8px 20px rgba(0, 0, 0, 0.3),
0 0 40px rgba(42, 90, 90, 0.2),
inset 0 1px rgba(255, 255, 255, 0.2);
border-color: var(--text-bright);
}
.project-header {
padding: 20px;
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(42, 90, 90, 0.1);
}
.project-title {
color: var(--text-bright);
font-size: 1em;
font-weight: bold;
letter-spacing: 1px;
}
.project-content {
padding: 20px;
max-height: none;
opacity: 1;
transform: none;
}
.project-description {
color: var(--text-muted);
font-size: 0.9em;
margin-bottom: 15px;
line-height: 1.5;
}
.project-tech-stack {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 15px;
}
.tech-tag {
background: rgba(42, 90, 90, 0.2);
padding: 4px 8px;
border-radius: 3px;
font-size: 0.8em;
color: var(--text-muted);
}
/* Status Grid Styling */
.status-grid {
display: grid;
gap: 20px;
margin-top: 20px;
max-width: 800px;
}
.status-card {
background: linear-gradient(
145deg,
rgba(42, 90, 90, 0.05) 0%,
rgba(42, 90, 90, 0.15) 100%
);
border: 1px solid var(--border-color);
clip-path: polygon(
0 0,
98% 0,
100% 15px,
100% 100%,
2% 100%,
0 calc(100% - 15px)
);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow:
0 5px 15px rgba(0, 0, 0, 0.2),
0 0 30px rgba(42, 90, 90, 0.1),
inset 0 1px rgba(255, 255, 255, 0.1);
position: relative;
backdrop-filter: blur(5px);
}
.status-card:hover {
transform: translateY(-2px);
box-shadow:
0 8px 20px rgba(0, 0, 0, 0.3),
0 0 40px rgba(42, 90, 90, 0.2),
inset 0 1px rgba(255, 255, 255, 0.2);
border-color: var(--text-bright);
}
.status-header {
padding: 20px;
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(42, 90, 90, 0.1);
}
.status-name {
color: var(--text-bright);
font-size: 1em;
font-weight: bold;
letter-spacing: 1px;
display: flex;
align-items: center;
gap: 10px;
}
.status-content {
padding: 20px;
}
.status-metrics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
margin-top: 10px;
}
.metric {
background: rgba(42, 90, 90, 0.05);
padding: 10px;
border-left: 2px solid var(--border-color);
}
.metric-label {
font-size: 0.8em;
color: var(--text-muted);
margin-bottom: 5px;
}
.metric-value {
font-size: 1.1em;
color: var(--text-bright);
}
/* Responsive adjustments */
@media (max-width: 768px) {
.project-grid,
.status-grid {
gap: 15px;
}
.project-header,
.status-header {
padding: 15px;
}
.project-content,
.status-content {
padding: 15px;
}
.status-metrics {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
.project-header,
.status-header {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.tech-tag {
font-size: 0.75em;
}
}