Clean up CSS
All checks were successful
Deploy / deploy (push) Successful in 17s

This commit is contained in:
elijah 2024-11-05 09:10:23 +01:00
parent 52504ecef8
commit a10fb0fb99

View File

@ -213,17 +213,15 @@ body::before {
color: var(--text-muted); color: var(--text-muted);
padding-bottom: 5px; padding-bottom: 5px;
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
min-height: 1.2em; /* no layout shit from js */ min-height: 1.2em;
/* no layout shit from js */
} }
.location.loading { .location.loading {
opacity: 0; opacity: 0;
} }
.location.loaded { .location.loaded {
opacity: 1; opacity: 1;
} }
.entry-list { .entry-list {
margin-top: 10px; margin-top: 10px;
} }
@ -488,7 +486,6 @@ body::before {
margin-right: 15px; margin-right: 15px;
font-size: 24px; font-size: 24px;
} }
.status-average { .status-average {
font-size: 0.9em; font-size: 0.9em;
color: var(--text-muted); color: var(--text-muted);
@ -508,14 +505,12 @@ body::before {
.separator { .separator {
color: var(--border-color); color: var(--border-color);
} }
.contact-grid { .contact-grid {
display: grid; display: grid;
gap: 20px; gap: 20px;
margin-top: 20px; margin-top: 20px;
max-width: 800px; max-width: 800px;
} }
.contact-card { .contact-card {
background: linear-gradient( background: linear-gradient(
145deg, 145deg,
@ -539,7 +534,6 @@ body::before {
position: relative; position: relative;
backdrop-filter: blur(5px); backdrop-filter: blur(5px);
} }
.contact-card:hover { .contact-card:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: box-shadow:
@ -548,7 +542,6 @@ body::before {
inset 0 1px rgba(255, 255, 255, 0.2); inset 0 1px rgba(255, 255, 255, 0.2);
border-color: var(--text-bright); border-color: var(--text-bright);
} }
.contact-header { .contact-header {
padding: 20px; padding: 20px;
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
@ -557,7 +550,6 @@ body::before {
align-items: center; align-items: center;
background: rgba(42, 90, 90, 0.1); background: rgba(42, 90, 90, 0.1);
} }
.contact-type { .contact-type {
color: var(--text-bright); color: var(--text-bright);
font-size: 1em; font-size: 1em;
@ -565,11 +557,9 @@ body::before {
letter-spacing: 1px; letter-spacing: 1px;
text-transform: uppercase; text-transform: uppercase;
} }
.contact-content { .contact-content {
padding: 20px; padding: 20px;
} }
.contact-method { .contact-method {
display: flex; display: flex;
align-items: center; align-items: center;
@ -581,14 +571,12 @@ body::before {
border-left: 2px solid var(--border-color); border-left: 2px solid var(--border-color);
transition: all 0.3s ease; transition: all 0.3s ease;
} }
.contact-method:hover { .contact-method:hover {
color: var(--text-bright); color: var(--text-bright);
background: rgba(42, 90, 90, 0.15); background: rgba(42, 90, 90, 0.15);
border-left: 2px solid var(--text-bright); border-left: 2px solid var(--text-bright);
padding-left: 20px; padding-left: 20px;
} }
.method-icon { .method-icon {
font-size: 1.2em; font-size: 1.2em;
margin-right: 15px; margin-right: 15px;
@ -596,31 +584,25 @@ body::before {
opacity: 0.8; opacity: 0.8;
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
} }
.contact-method:hover .method-icon { .contact-method:hover .method-icon {
opacity: 1; opacity: 1;
} }
.method-details { .method-details {
flex: 1; flex: 1;
} }
.method-name { .method-name {
font-size: 0.9em; font-size: 0.9em;
margin-bottom: 4px; margin-bottom: 4px;
color: var(--text-bright); color: var(--text-bright);
} }
.method-address { .method-address {
font-size: 0.8em; font-size: 0.8em;
color: var(--text-muted); color: var(--text-muted);
transition: color 0.3s ease; transition: color 0.3s ease;
} }
.contact-method:hover .method-address { .contact-method:hover .method-address {
color: var(--text-bright); color: var(--text-bright);
} }
.connection-indicator { .connection-indicator {
margin-left: 10px; margin-left: 10px;
transition: transform 0.3s ease; transition: transform 0.3s ease;
@ -628,14 +610,12 @@ body::before {
.contact-method:hover .connection-indicator { .contact-method:hover .connection-indicator {
transform: translateX(5px); transform: translateX(5px);
} }
.project-grid { .project-grid {
display: grid; display: grid;
gap: 20px; gap: 20px;
margin-top: 20px; margin-top: 20px;
max-width: 800px; max-width: 800px;
} }
.project-card { .project-card {
background: linear-gradient( background: linear-gradient(
145deg, 145deg,
@ -659,7 +639,6 @@ body::before {
position: relative; position: relative;
backdrop-filter: blur(5px); backdrop-filter: blur(5px);
} }
.project-card:hover { .project-card:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: box-shadow:
@ -668,7 +647,6 @@ body::before {
inset 0 1px rgba(255, 255, 255, 0.2); inset 0 1px rgba(255, 255, 255, 0.2);
border-color: var(--text-bright); border-color: var(--text-bright);
} }
.project-header { .project-header {
padding: 20px; padding: 20px;
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
@ -677,35 +655,30 @@ body::before {
align-items: center; align-items: center;
background: rgba(42, 90, 90, 0.1); background: rgba(42, 90, 90, 0.1);
} }
.project-title { .project-title {
color: var(--text-bright); color: var(--text-bright);
font-size: 1em; font-size: 1em;
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
.project-content { .project-content {
padding: 20px; padding: 20px;
max-height: none; max-height: none;
opacity: 1; opacity: 1;
transform: none; transform: none;
} }
.project-description { .project-description {
color: var(--text-muted); color: var(--text-muted);
font-size: 0.9em; font-size: 0.9em;
margin-bottom: 15px; margin-bottom: 15px;
line-height: 1.5; line-height: 1.5;
} }
.project-tech-stack { .project-tech-stack {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 8px; gap: 8px;
margin-top: 15px; margin-top: 15px;
} }
.tech-tag { .tech-tag {
background: rgba(42, 90, 90, 0.2); background: rgba(42, 90, 90, 0.2);
padding: 4px 8px; padding: 4px 8px;
@ -713,7 +686,6 @@ body::before {
font-size: 0.8em; font-size: 0.8em;
color: var(--text-muted); color: var(--text-muted);
} }
/* Status Grid Styling */ /* Status Grid Styling */
.status-grid { .status-grid {
display: grid; display: grid;
@ -721,7 +693,6 @@ body::before {
margin-top: 20px; margin-top: 20px;
max-width: 800px; max-width: 800px;
} }
.status-card { .status-card {
background: linear-gradient( background: linear-gradient(
145deg, 145deg,
@ -745,7 +716,6 @@ body::before {
position: relative; position: relative;
backdrop-filter: blur(5px); backdrop-filter: blur(5px);
} }
.status-card:hover { .status-card:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: box-shadow:
@ -754,7 +724,6 @@ body::before {
inset 0 1px rgba(255, 255, 255, 0.2); inset 0 1px rgba(255, 255, 255, 0.2);
border-color: var(--text-bright); border-color: var(--text-bright);
} }
.status-header { .status-header {
padding: 20px; padding: 20px;
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
@ -763,7 +732,6 @@ body::before {
align-items: center; align-items: center;
background: rgba(42, 90, 90, 0.1); background: rgba(42, 90, 90, 0.1);
} }
.status-name { .status-name {
color: var(--text-bright); color: var(--text-bright);
font-size: 1em; font-size: 1em;
@ -773,30 +741,25 @@ body::before {
align-items: center; align-items: center;
gap: 10px; gap: 10px;
} }
.status-content { .status-content {
padding: 20px; padding: 20px;
} }
.status-metrics { .status-metrics {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px; gap: 15px;
margin-top: 10px; margin-top: 10px;
} }
.metric { .metric {
background: rgba(42, 90, 90, 0.05); background: rgba(42, 90, 90, 0.05);
padding: 10px; padding: 10px;
border-left: 2px solid var(--border-color); border-left: 2px solid var(--border-color);
} }
.metric-label { .metric-label {
font-size: 0.8em; font-size: 0.8em;
color: var(--text-muted); color: var(--text-muted);
margin-bottom: 5px; margin-bottom: 5px;
} }
.metric-value { .metric-value {
font-size: 1.1em; font-size: 1.1em;
color: var(--text-bright); color: var(--text-bright);