Files
Portainer/ghost-me/theme-source-personal/assets/css/personal.css
T
2026-08-09 16:56:56 +00:00

862 lines
17 KiB
CSS

/*
Personal portfolio layer for me.thehomelesssherlock.com.
Keeps Source structure, but moves the visual language closer to the
previous custom site: dark technical UI, blue accents, compact cards.
*/
:root {
--background-color: #0f0f0f !important;
--ghost-accent-color: #2563eb;
--color-white: #ffffff;
--color-lighter-gray: rgb(255 255 255 / 0.06);
--color-light-gray: rgb(255 255 255 / 0.12);
--color-mid-gray: #6b6560;
--color-dark-gray: #9ca3af;
--color-darker-gray: #ffffff;
--color-primary-text: #ffffff;
--color-secondary-text: #d1d5db;
--color-border: #333333;
--color-dark-border: rgb(59 130 246 / 0.35);
--ths-bg-primary: #0f0f0f;
--ths-bg-secondary: #1a1a1a;
--ths-bg-tertiary: #252525;
--ths-bg-surface: #1e1e1e;
--ths-accent: #3b82f6;
--ths-accent-strong: #2563eb;
--ths-accent-soft: rgb(59 130 246 / 0.16);
--ths-text-primary: #ffffff;
--ths-text-secondary: #d1d5db;
--ths-text-muted: #9ca3af;
--container-width: 1040px;
--container-gap: clamp(20px, 5vw, 40px);
--grid-gap: 18px;
}
html,
body {
background: var(--ths-bg-primary);
}
body {
color: var(--ths-text-secondary);
}
.gh-viewport {
min-height: 100vh;
background:
radial-gradient(circle at 50% 0, rgb(37 99 235 / 0.1), transparent 34rem),
var(--ths-bg-primary);
}
a {
color: var(--ths-text-primary);
}
a:hover {
color: #93c5fd;
opacity: 1;
}
.gh-navigation {
position: sticky;
top: 0;
z-index: 20;
height: 40px;
background: rgb(15 15 15 / 0.8);
border-bottom: 1px solid var(--color-border);
backdrop-filter: blur(14px);
}
.gh-navigation-inner {
display: flex;
justify-content: center;
align-items: center;
height: 40px;
min-height: 40px;
max-width: 1040px;
padding-inline: 16px;
}
.gh-navigation-brand {
display: none;
}
.gh-navigation-menu {
display: flex;
justify-content: center;
width: 100%;
}
.gh-navigation-menu .nav {
display: flex;
align-items: center;
justify-content: center;
gap: 2.4rem;
flex-wrap: wrap;
}
.gh-navigation-logo {
display: none;
width: 42px;
height: 42px;
justify-content: center;
color: var(--ths-text-primary);
font-family: var(--font-mono);
font-size: 0;
font-weight: 800;
letter-spacing: 0;
background: linear-gradient(135deg, rgb(37 99 235 / 0.95), rgb(14 165 233 / 0.82));
border: 1px solid rgb(147 197 253 / 0.26);
border-radius: 10px;
box-shadow: 0 14px 38px rgb(37 99 235 / 0.22);
}
.gh-navigation-logo::before {
content: "EP";
font-size: 1.8rem;
}
.gh-navigation-logo:has(img)::before {
content: none;
}
.gh-navigation-logo img {
max-height: 30px;
}
.gh-navigation-menu a,
.gh-footer-menu a {
color: var(--ths-text-muted);
font-size: 1.25rem;
font-weight: 500;
transition: color 0.2s ease;
}
.gh-navigation-menu a:hover,
.gh-footer-menu a:hover {
color: var(--ths-text-primary);
}
.gh-navigation-menu .nav-contacto a {
padding: 0.55rem 1.35rem;
color: #fff;
font-weight: 600;
background: linear-gradient(135deg, var(--ths-accent-strong), var(--ths-accent));
border-radius: 8px;
box-shadow: 0 8px 20px rgb(37 99 235 / 0.25);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gh-navigation-menu .nav-contacto a:hover {
color: #fff;
transform: translateY(-1px);
box-shadow: 0 10px 26px rgb(37 99 235 / 0.35);
}
.gh-search,
.gh-icon-button {
color: var(--ths-accent);
}
.gh-button,
.gh-content .kg-button-card a,
.gh-content .kg-button-card .kg-btn {
color: #fff !important;
background: linear-gradient(135deg, var(--ths-accent-strong), #1d4ed8);
border: 1px solid rgb(147 197 253 / 0.24);
border-radius: 8px;
box-shadow: 0 12px 32px rgb(37 99 235 / 0.22);
}
.gh-button:hover,
.gh-content .kg-button-card a:hover,
.gh-content .kg-button-card .kg-btn:hover {
transform: translateY(-1px);
box-shadow: 0 16px 38px rgb(37 99 235 / 0.32);
}
.gh-main,
.gh-outer {
background: transparent;
}
.gh-header {
min-height: 386px;
background: transparent;
}
.gh-header-inner {
padding-top: clamp(76px, 12vw, 132px);
padding-bottom: clamp(56px, 10vw, 108px);
text-align: center;
}
.gh-header-title,
.gh-article-title {
max-width: 900px;
color: var(--ths-text-primary);
font-weight: 800;
letter-spacing: 0;
}
.gh-header-title {
margin-inline: auto;
font-size: clamp(4.4rem, 8vw, 7.8rem);
}
.gh-article-title {
font-size: clamp(3.6rem, 6vw, 6.6rem);
}
.gh-article-excerpt,
.gh-header-description,
.gh-content > p:first-child {
color: var(--ths-text-muted);
}
.gh-featured,
.gh-container,
.gh-article,
.gh-archive {
background: transparent;
}
.gh-post-card,
.gh-card,
.gh-about,
.gh-recommendations,
.gh-content :is(.kg-callout-card, .kg-bookmark-card, .kg-product-card) {
background: var(--ths-bg-tertiary);
border: 1px solid var(--color-border);
border-radius: 10px;
box-shadow: 0 18px 50px rgb(0 0 0 / 0.18);
}
.gh-post-card {
padding: 18px;
transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.gh-post-card:hover {
transform: translateY(-2px);
border-color: rgb(59 130 246 / 0.45);
box-shadow: 0 20px 60px rgb(37 99 235 / 0.13);
}
.gh-post-card-title,
.gh-card-title,
.gh-about-title,
.gh-sidebar-title {
color: var(--ths-text-primary);
}
.gh-post-card-excerpt,
.gh-card-excerpt,
.gh-about-description,
.gh-post-card-meta,
.gh-article-meta {
color: var(--ths-text-muted);
}
.gh-post-card-tags a,
.gh-content a {
color: #93c5fd;
}
.gh-content {
color: var(--ths-text-secondary);
}
.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4 {
color: var(--ths-text-primary);
letter-spacing: 0;
}
.gh-content h2::after {
content: "";
display: block;
width: 64px;
height: 2px;
margin-top: 12px;
background: linear-gradient(90deg, var(--ths-accent), rgb(56 189 248 / 0.6));
border-radius: 999px;
}
.gh-content code,
.gh-content pre {
font-family: var(--font-mono);
}
.gh-content code {
color: #93c5fd;
background: var(--ths-bg-surface);
border: 1px solid var(--color-border);
border-radius: 5px;
}
.gh-content pre {
background: var(--ths-bg-surface);
border: 1px solid var(--color-border);
border-radius: 10px;
}
.gh-content blockquote {
color: var(--ths-text-secondary);
border-left-color: var(--ths-accent);
}
.gh-content hr {
background: var(--color-border);
}
.gh-content :is(table, th, td) {
border-color: var(--color-border);
}
.gh-content th {
color: var(--ths-text-primary);
background: var(--ths-bg-secondary);
}
.gh-content td {
background: rgb(37 37 37 / 0.48);
}
.gh-footer {
margin-top: 56px;
color: var(--ths-text-muted);
background: var(--ths-bg-primary);
border-top: 1px solid var(--color-border);
}
.gh-footer-bar {
border-top-color: var(--color-border);
}
.gh-footer-logo {
color: var(--ths-text-primary);
}
.gh-footer-copyright,
.gh-footer-copyright a {
color: var(--ths-text-muted);
}
/* Homepage: hero + latest posts (page-inicio.hbs) */
.ths-hero {
box-sizing: border-box;
min-height: 386px;
padding: clamp(72px, 9vw, 86px) 0 clamp(56px, 7vw, 78px);
background:
radial-gradient(circle at 50% 0, rgb(37 99 235 / 0.12), transparent 32rem),
var(--ths-bg-primary);
text-align: center;
}
.ths-hero-inner {
max-width: 780px;
margin-inline: auto;
}
.ths-hero-title {
margin: 0 0 18px;
color: var(--ths-text-primary);
font-size: clamp(4.2rem, 5.4vw, 5.4rem);
font-weight: 800;
line-height: 1.06;
letter-spacing: -0.01em;
}
.ths-hero-subtitle {
margin: 0 auto 20px;
max-width: 560px;
color: var(--ths-text-secondary);
font-size: clamp(1.55rem, 2vw, 1.8rem);
line-height: 1.45;
}
.ths-hero-kicker {
margin: 0 auto 34px;
color: var(--ths-text-muted);
font-size: clamp(1.25rem, 1.6vw, 1.45rem);
line-height: 1.45;
}
.ths-hero-actions {
display: flex;
justify-content: center;
gap: 16px;
flex-wrap: wrap;
}
.ths-btn {
min-width: 108px;
padding: 11px 26px;
font-weight: 600;
font-size: 1.25rem;
border-radius: 8px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ths-btn-primary {
color: #fff;
background: linear-gradient(135deg, var(--ths-accent-strong), var(--ths-accent));
box-shadow: 0 12px 30px rgb(37 99 235 / 0.28);
}
.ths-btn-secondary {
color: var(--ths-text-primary);
background: var(--ths-bg-tertiary);
border: 1px solid var(--color-border);
}
.ths-btn:hover {
transform: translateY(-2px);
}
.ths-btn-primary:hover {
box-shadow: 0 16px 38px rgb(37 99 235 / 0.4);
}
.ths-section {
padding: clamp(38px, 5vw, 58px) 0;
}
.ths-about-section {
background: var(--ths-bg-secondary);
}
.ths-about-inner {
display: block;
width: min(calc(100% - 40px), 1040px);
max-width: none;
margin-inline: auto;
}
.ths-about-inner p {
max-width: 1040px;
margin: 0;
color: var(--ths-text-secondary);
font-size: 1.35rem;
line-height: 1.58;
}
.ths-section-title {
position: relative;
margin: 0 0 32px;
padding-bottom: 14px;
color: var(--ths-text-primary);
font-size: clamp(1.6rem, 3vw, 2.2rem);
font-weight: 800;
}
.ths-section-title::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 56px;
height: 3px;
background: linear-gradient(90deg, var(--ths-accent), rgb(56 189 248 / 0.6));
border-radius: 999px;
}
.ths-posts-section {
background: var(--ths-bg-primary);
padding-top: clamp(40px, 5vw, 64px);
}
.ths-posts-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.ths-post-card {
display: block;
padding: 20px;
color: inherit;
background: var(--ths-bg-tertiary);
border: 1px solid var(--color-border);
border-radius: 10px;
transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.ths-post-card:hover {
transform: translateY(-3px);
border-color: rgb(59 130 246 / 0.45);
box-shadow: 0 16px 40px rgb(37 99 235 / 0.14);
opacity: 1;
}
.ths-post-card-title {
margin: 0 0 10px;
color: var(--ths-text-primary);
font-size: 1.05rem;
font-weight: 700;
}
.ths-post-card-meta {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
color: var(--ths-text-muted);
font-size: 0.85rem;
}
.ths-post-card-excerpt {
margin: 0 0 14px;
color: var(--ths-text-secondary);
font-size: 0.9rem;
line-height: 1.5;
}
.ths-post-card-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.ths-post-card-tags span {
padding: 4px 10px;
color: #93c5fd;
font-size: 0.75rem;
font-weight: 600;
background: rgb(59 130 246 / 0.12);
border: 1px solid rgb(59 130 246 / 0.3);
border-radius: 6px;
}
.ths-posts-more {
margin-top: 24px;
text-align: center;
}
.ths-posts-more a {
color: var(--ths-accent);
font-weight: 600;
}
.ths-footer-inner {
width: min(calc(100% - 40px), 1040px);
margin-inline: auto;
}
.ths-contact-section {
color: var(--ths-text-secondary);
text-align: center;
background: var(--ths-bg-secondary);
border-top: 1px solid rgb(255 255 255 / 0.04);
}
.ths-contact-inner {
width: min(calc(100% - 40px), 680px);
margin-inline: auto;
}
.ths-contact-inner h2 {
margin: 0 0 14px;
color: var(--ths-text-primary);
font-size: clamp(2.4rem, 3vw, 3rem);
font-weight: 800;
}
.ths-contact-inner p {
margin: 0 0 26px;
font-size: 1.35rem;
line-height: 1.55;
}
.ths-footer {
color: var(--ths-text-muted);
background: var(--ths-bg-primary);
border-top: 1px solid var(--color-border);
}
.ths-footer-inner {
padding-block: 34px 22px;
}
.ths-footer-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 48px;
padding-bottom: 30px;
}
.ths-footer-grid nav {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.ths-footer-grid h2 {
margin: 0 0 4px;
color: var(--ths-text-primary);
font-size: 1.2rem;
font-weight: 700;
}
.ths-footer-grid a {
color: var(--ths-text-muted);
font-size: 1.15rem;
}
.ths-footer-grid a:hover {
color: var(--ths-text-primary);
}
.ths-footer-copyright {
padding-top: 22px;
text-align: center;
font-size: 1.05rem;
border-top: 1px solid var(--color-border);
}
/* Projects collection */
.ths-projects-archive {
min-height: calc(100vh - 40px);
padding: clamp(54px, 7vw, 76px) 0 clamp(64px, 8vw, 90px);
background: var(--ths-bg-primary);
}
.ths-projects-inner {
width: min(calc(100% - 40px), 1040px);
margin-inline: auto;
}
.ths-projects-header {
max-width: 720px;
margin-bottom: 30px;
}
.ths-projects-header h1 {
margin: 0 0 5px;
color: var(--ths-text-primary);
font-size: clamp(2.8rem, 4vw, 3.8rem);
font-weight: 800;
line-height: 1.15;
}
.ths-projects-subtitle {
margin: 0;
color: var(--ths-text-muted);
font-size: 1.3rem;
}
.ths-heading-rule {
display: block;
width: 56px;
height: 3px;
margin: 14px 0 30px;
background: linear-gradient(90deg, var(--ths-accent), rgb(56 189 248 / 0.6));
border-radius: 999px;
}
.ths-projects-intro {
margin: 0;
color: var(--ths-text-secondary);
font-size: 1.35rem;
line-height: 1.55;
}
.ths-project-filters {
padding-bottom: 25px;
border-bottom: 1px solid var(--color-border);
}
.ths-project-filters > span {
display: block;
margin-bottom: 10px;
color: var(--ths-text-muted);
font-size: 1rem;
font-weight: 700;
text-transform: uppercase;
}
.ths-project-filters > div {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.ths-project-filters button {
padding: 6px 12px;
color: var(--ths-text-secondary);
font: inherit;
font-size: 1.05rem;
font-weight: 600;
background: var(--ths-bg-tertiary);
border: 1px solid var(--color-border);
border-radius: 6px;
cursor: pointer;
}
.ths-project-filters button:hover,
.ths-project-filters button.is-active {
color: #fff;
background: var(--ths-accent);
border-color: var(--ths-accent);
}
.ths-project-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
margin-top: 30px;
}
.ths-project-card {
min-width: 0;
background: var(--ths-bg-tertiary);
border: 1px solid var(--color-border);
border-radius: 7px;
transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.ths-project-card:hover {
transform: translateY(-2px);
border-color: rgb(59 130 246 / 0.45);
box-shadow: 0 16px 40px rgb(37 99 235 / 0.13);
}
.ths-project-card > a {
display: flex;
flex-direction: column;
height: 100%;
padding: 17px;
color: inherit;
}
.ths-project-card-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
.ths-project-card h2 {
margin: 0;
color: var(--ths-text-primary);
font-size: 1.3rem;
font-weight: 750;
line-height: 1.3;
}
.ths-project-status {
flex: none;
padding: 3px 7px;
color: #fff7ed;
font-size: 0.9rem;
font-weight: 700;
background: #f59e0b;
border: 1px solid #fbbf24;
border-radius: 5px;
}
.ths-project-card p {
margin: 0 0 14px;
color: var(--ths-text-secondary);
font-size: 1.1rem;
line-height: 1.48;
}
.ths-project-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: auto;
}
.ths-project-tags span {
padding: 4px 9px;
color: #93c5fd;
font-size: 0.9rem;
font-weight: 600;
background: rgb(59 130 246 / 0.1);
border: 1px solid rgb(59 130 246 / 0.5);
border-radius: 5px;
}
.ths-project-empty {
margin: 30px 0 0;
color: var(--ths-text-muted);
text-align: center;
}
.ths-projects-page .pagination {
margin-top: 30px;
}
@media (min-width: 768px) and (max-width: 1023px) {
.ths-posts-grid,
.ths-project-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 767px) {
.gh-navigation-logo {
width: auto;
min-width: 42px;
padding: 0 10px;
}
.gh-header {
min-height: 340px;
}
.gh-navigation {
height: auto;
min-height: 46px;
}
.gh-navigation-inner {
height: auto;
min-height: 46px;
}
.gh-navigation-menu .nav {
gap: 1.4rem;
row-gap: 0.8rem;
padding-block: 12px;
}
.gh-navigation-menu a,
.gh-footer-menu a {
font-size: 1.2rem;
}
.ths-hero {
box-sizing: border-box;
min-height: 340px;
padding-top: 58px;
}
.ths-hero-title {
font-size: clamp(3.8rem, 13vw, 4.8rem);
}
.gh-post-card {
padding: 16px;
}
.ths-posts-grid,
.ths-project-grid {
grid-template-columns: 1fr;
}
.ths-footer-grid {
grid-template-columns: 1fr;
gap: 26px;
}
}