1223 lines
22 KiB
CSS
1223 lines
22 KiB
CSS
/* Catppuccin Latte - Light theme */
|
|
html[data-theme="latte"] {
|
|
--bg-primary: #eff1f5;
|
|
--bg-secondary: #e6e9f0;
|
|
--text-primary: #4c4f69;
|
|
--text-secondary: #6c6f85;
|
|
--border-color: #dce0e8;
|
|
}
|
|
|
|
/* Catppuccin Frappe - Light-dark theme */
|
|
html[data-theme="frappe"] {
|
|
--bg-primary: #292c3c;
|
|
--bg-secondary: #414559;
|
|
--text-primary: #c6d0f5;
|
|
--text-secondary: #a5adce;
|
|
--border-color: #51576d;
|
|
}
|
|
|
|
/* Catppuccin Macchiato - Dark theme */
|
|
html[data-theme="macchiato"] {
|
|
--bg-primary: #24273a;
|
|
--bg-secondary: #363a4f;
|
|
--text-primary: #cad1f5;
|
|
--text-secondary: #b8c5e4;
|
|
--border-color: #49506a;
|
|
}
|
|
|
|
/* Catppuccin Mocha - Darkest theme */
|
|
html[data-theme="mocha"] {
|
|
--bg-primary: #1e1e2e;
|
|
--bg-secondary: #313244;
|
|
--text-primary: #cdd6f4;
|
|
--text-secondary: #bac2de;
|
|
--border-color: #45475a;
|
|
}
|
|
|
|
/* Nord - Arctic, north-bluish color scheme */
|
|
html[data-theme="nord"] {
|
|
--bg-primary: #2e3440;
|
|
--bg-secondary: #3b4252;
|
|
--text-primary: #eceff4;
|
|
--text-secondary: #d8dee9;
|
|
--border-color: #434c5e;
|
|
}
|
|
|
|
/* Dracula - Dark theme with vibrant colors */
|
|
html[data-theme="dracula"] {
|
|
--bg-primary: #282a36;
|
|
--bg-secondary: #363944;
|
|
--text-primary: #f8f8f2;
|
|
--text-secondary: #e6db74;
|
|
--border-color: #44475a;
|
|
}
|
|
|
|
/* Solarized Light - Classic light warm theme */
|
|
html[data-theme="solarized-light"] {
|
|
--bg-primary: #fdf6e3;
|
|
--bg-secondary: #eee8d5;
|
|
--text-primary: #657b83;
|
|
--text-secondary: #586e75;
|
|
--border-color: #d6d0c8;
|
|
}
|
|
|
|
/* Solarized Dark - Classic dark warm theme */
|
|
html[data-theme="solarized-dark"] {
|
|
--bg-primary: #002b36;
|
|
--bg-secondary: #073642;
|
|
--text-primary: #839496;
|
|
--text-secondary: #93a1a1;
|
|
--border-color: #586e75;
|
|
}
|
|
|
|
/* Gruvbox Light - Retro groove light */
|
|
html[data-theme="gruvbox-light"] {
|
|
--bg-primary: #fbf1c7;
|
|
--bg-secondary: #f2e5bc;
|
|
--text-primary: #3c3836;
|
|
--text-secondary: #504945;
|
|
--border-color: #d5c4a1;
|
|
}
|
|
|
|
/* Gruvbox Dark - Retro groove dark */
|
|
html[data-theme="gruvbox-dark"] {
|
|
--bg-primary: #282828;
|
|
--bg-secondary: #3c3836;
|
|
--text-primary: #ebdbb2;
|
|
--text-secondary: #d5c4a1;
|
|
--border-color: #504945;
|
|
}
|
|
|
|
/* One Dark - Popular dark theme */
|
|
html[data-theme="one-dark"] {
|
|
--bg-primary: #282c34;
|
|
--bg-secondary: #353b45;
|
|
--text-primary: #abb2bf;
|
|
--text-secondary: #a0a9b8;
|
|
--border-color: #3e4451;
|
|
}
|
|
|
|
/* Tokyo Night - Modern dark theme */
|
|
html[data-theme="tokyo-night"] {
|
|
--bg-primary: #1a1b26;
|
|
--bg-secondary: #16161e;
|
|
--text-primary: #c0caf5;
|
|
--text-secondary: #a9b1d6;
|
|
--border-color: #2f3549;
|
|
}
|
|
|
|
/* Fallback light theme */
|
|
html[data-theme="light"] {
|
|
--bg-primary: #ffffff;
|
|
--bg-secondary: #f5f5f5;
|
|
--text-primary: #000000;
|
|
--text-secondary: #333333;
|
|
--border-color: #e0e0e0;
|
|
}
|
|
|
|
/* Fallback dark theme */
|
|
html[data-theme="dark"] {
|
|
--bg-primary: #1a1a1a;
|
|
--bg-secondary: #2a2a2a;
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #cccccc;
|
|
--border-color: #444444;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow-x: hidden;
|
|
background-color: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
min-height: 100vh;
|
|
width: 100vw;
|
|
}
|
|
|
|
main {
|
|
flex: 1 1 auto;
|
|
max-width: 900px;
|
|
min-width: 0;
|
|
overflow-y: auto;
|
|
padding: 40px 20px;
|
|
background-color: var(--bg-primary);
|
|
}
|
|
|
|
aside {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
padding: 20px;
|
|
width: 340px;
|
|
flex-shrink: 0;
|
|
position: sticky;
|
|
top: 0;
|
|
max-height: 100vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
user-select: none;
|
|
margin-top: 30;
|
|
font-size: 1.25em;
|
|
margin-right: 20px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.pagination-link.active {
|
|
color: var(--text-primary);
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.pagination-link.disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.themePicker label {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.theme-controls {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Mode toggle */
|
|
.theme-mode-toggle {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mode-btn {
|
|
flex: 1;
|
|
padding: 6px 8px;
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background-color: transparent;
|
|
color: var(--text-primary);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.mode-btn:hover {
|
|
border-color: var(--text-primary);
|
|
}
|
|
|
|
.mode-btn.active {
|
|
border-color: var(--text-primary);
|
|
background-color: var(--text-primary);
|
|
color: var(--bg-primary);
|
|
}
|
|
|
|
/* Custom dropdown trigger */
|
|
.theme-dropdown-trigger {
|
|
padding: 6px 8px;
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background-color: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
width: 100%;
|
|
}
|
|
|
|
.theme-dropdown-trigger:hover {
|
|
border-color: var(--text-primary);
|
|
}
|
|
|
|
.theme-dropdown-trigger:focus {
|
|
outline: none;
|
|
border-color: var(--text-primary);
|
|
box-shadow: 0 0 0 3px rgba(100, 100, 100, 0.1);
|
|
}
|
|
|
|
.dropdown-arrow {
|
|
font-size: 12px;
|
|
transition: transform 0.2s ease;
|
|
margin-left: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.theme-dropdown-trigger.open .dropdown-arrow {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
/* Custom dropdown menu */
|
|
.theme-dropdown-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: var(--bg-primary);
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 6px;
|
|
margin-top: 4px;
|
|
padding: 12px;
|
|
display: none;
|
|
flex-direction: column;
|
|
z-index: 1000;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.theme-dropdown-menu.open {
|
|
display: flex;
|
|
}
|
|
|
|
.theme-dropdown-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Theme option row */
|
|
.theme-option {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s ease;
|
|
cursor: pointer;
|
|
gap: 8px;
|
|
}
|
|
|
|
.theme-option:hover {
|
|
background-color: var(--bg-secondary);
|
|
}
|
|
|
|
.theme-name {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
/* Selection button */
|
|
.theme-selector-btn {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 4px;
|
|
border: 2px solid var(--border-color);
|
|
background-color: transparent;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.theme-selector-btn:hover {
|
|
border-color: var(--text-primary);
|
|
}
|
|
|
|
.theme-selector-btn.selected {
|
|
border-color: var(--text-primary);
|
|
background-color: var(--text-primary);
|
|
}
|
|
|
|
.theme-selector-btn.selected::after {
|
|
content: '✓';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 12px;
|
|
color: var(--bg-primary);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.profile-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.profile-picture {
|
|
margin: 0;
|
|
width: 90px;
|
|
height: 90px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 3px solid var(--border-color);
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.profile-picture:hover {
|
|
transform: scale(1.05);
|
|
border-color: var(--text-primary);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.profile-name {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
padding: 0;
|
|
letter-spacing: -0.5px;
|
|
line-height: 1.2;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.social-links {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.social-links li {
|
|
margin: 0;
|
|
}
|
|
|
|
.social-links a {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 8px;
|
|
background-color: var(--bg-primary);
|
|
border: 2px solid var(--border-color);
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.social-links #teabag {
|
|
fill: var(--bg-primary);
|
|
}
|
|
|
|
.social-links a::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background-color: var(--text-primary);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.social-links a:hover {
|
|
border-color: var(--text-primary);
|
|
text-decoration: none;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.social-links a:hover::before {
|
|
opacity: 0.05;
|
|
}
|
|
|
|
.social-links a:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.social-links svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
fill: var(--text-primary);
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.social-links a:hover svg:not(.icon-github):not(.icon-gitea) {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.git-icon-wrapper {
|
|
position: relative;
|
|
width: 24px;
|
|
height: 24px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.icon-github,
|
|
.icon-gitea {
|
|
position: absolute;
|
|
width: 24px;
|
|
height: 24px;
|
|
top: 0;
|
|
left: 0;
|
|
fill: var(--text-primary);
|
|
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.icon-github {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.icon-gitea {
|
|
transform: translateY(-44px);
|
|
}
|
|
|
|
.social-links a:hover .icon-github {
|
|
transform: translateY(48px);
|
|
}
|
|
|
|
.social-links a:hover .icon-gitea {
|
|
transform: translateY(-20px);
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
li {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.sheet-background {
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
background-color: var(--bg-secondary);
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.tags h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 12px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tag-pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.tag-pills li {
|
|
margin: 0;
|
|
}
|
|
|
|
.tag-pill {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
border-radius: 16px;
|
|
background-color: var(--bg-primary);
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.tag-pill:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.tag-pill.active {
|
|
background-color: var(--text-primary);
|
|
color: var(--bg-primary);
|
|
border-color: var(--text-primary);
|
|
font-weight: 600;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* Tag actions for clearing filters */
|
|
.tag-actions {
|
|
margin-top: 12px;
|
|
border-top: 1px solid var(--border-color);
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.clear-tags-btn {
|
|
display: inline-block;
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
transition: color 0.2s ease, background-color 0.2s ease;
|
|
}
|
|
|
|
.clear-tags-btn:hover {
|
|
color: var(--text-primary);
|
|
background-color: var(--bg-secondary);
|
|
}
|
|
|
|
|
|
|
|
/* Post Archive Styles */
|
|
.postList h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 12px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.post-archive {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.post-archive > li {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.archive-year,
|
|
.archive-month {
|
|
cursor: pointer;
|
|
padding: 6px 8px;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
user-select: none;
|
|
}
|
|
|
|
.archive-year.expanded,
|
|
.archive-month.expanded {
|
|
background-color: var(--bg-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.archive-year:hover,
|
|
.archive-month:hover {
|
|
background-color: var(--bg-primary);
|
|
}
|
|
|
|
.archive-year:focus,
|
|
.archive-month:focus {
|
|
outline: 2px solid var(--accent-color);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
.archive-year {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.archive-month {
|
|
font-weight: 500;
|
|
font-size: 13px;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.archive-toggle {
|
|
font-size: 10px;
|
|
transition: transform 0.2s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.archive-toggle.expanded {
|
|
transform: rotate(90deg);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.archive-content {
|
|
overflow: hidden;
|
|
max-height: 0;
|
|
transition: max-height 0.3s ease;
|
|
}
|
|
|
|
.archive-content.expanded {
|
|
max-height: 2000px;
|
|
}
|
|
|
|
.archive-months {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 4px 0 0 0;
|
|
}
|
|
|
|
.archive-posts {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 4px 0 0 0;
|
|
}
|
|
|
|
.archive-post {
|
|
padding: 4px 8px 4px 40px;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.archive-post a {
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.archive-post a:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.archive-post a.active {
|
|
color: var(--text-primary);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.post-count {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Blog Post Styles */
|
|
.blog-post {
|
|
max-width: 750px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.post-header {
|
|
margin-bottom: 48px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.post-title {
|
|
font-size: 42px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
margin: 0 0 16px 0;
|
|
color: var(--text-primary);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.post-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 15px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.meta-separator {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.post-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.post-tag {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
border-radius: 16px;
|
|
background-color: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.post-tag:hover {
|
|
background-color: var(--text-primary);
|
|
color: var(--bg-primary);
|
|
border-color: var(--text-primary);
|
|
}
|
|
|
|
.post-tag.active {
|
|
background-color: var(--text-primary);
|
|
color: var(--bg-primary);
|
|
border-color: var(--text-primary);
|
|
font-weight: 600;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Post Content Typography */
|
|
.post-content {
|
|
font-size: 18px;
|
|
line-height: 1.75;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.post-content .lead {
|
|
font-size: 22px;
|
|
line-height: 1.6;
|
|
margin-bottom: 32px;
|
|
color: var(--text-primary);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.post-content h2 {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
margin: 48px 0 24px 0;
|
|
color: var(--text-primary);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.post-content h3 {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
margin: 36px 0 20px 0;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.post-content p {
|
|
margin: 0 0 24px 0;
|
|
}
|
|
|
|
.post-content ul,
|
|
.post-content ol {
|
|
margin: 0 0 24px 0;
|
|
padding-left: 24px;
|
|
}
|
|
|
|
.post-content li {
|
|
margin-bottom: 12px;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.post-content li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.post-content strong {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Inline Code */
|
|
.post-content code {
|
|
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
|
|
font-size: 0.9em;
|
|
padding: 2px 6px;
|
|
background-color: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Code Blocks */
|
|
.post-content pre {
|
|
margin: 32px 0;
|
|
padding: 20px;
|
|
background-color: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
overflow-x: auto;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.post-content pre code {
|
|
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
|
|
font-size: 15px;
|
|
padding: 0;
|
|
background-color: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
display: block;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Blockquotes */
|
|
.post-content blockquote {
|
|
margin: 32px 0;
|
|
padding: 20px 24px;
|
|
border-left: 4px solid var(--text-primary);
|
|
background-color: var(--bg-secondary);
|
|
font-style: italic;
|
|
font-size: 20px;
|
|
line-height: 1.6;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.post-content blockquote p {
|
|
margin: 0;
|
|
}
|
|
|
|
/* Links in content */
|
|
.post-content a {
|
|
color: var(--text-primary);
|
|
text-decoration: underline;
|
|
text-decoration-thickness: 1px;
|
|
text-underline-offset: 2px;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.post-content a:hover {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Post Footer */
|
|
.post-footer {
|
|
margin-top: 48px;
|
|
padding-top: 24px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.post-footer p {
|
|
font-style: italic;
|
|
color: var(--text-secondary);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 1200px) {
|
|
aside {
|
|
width: 300px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
body {
|
|
flex-direction: column-reverse;
|
|
}
|
|
|
|
main {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
aside {
|
|
width: auto;
|
|
max-width: 100%;
|
|
position: static;
|
|
max-height: none;
|
|
border-left: none;
|
|
border-top: 1px solid var(--border-color);
|
|
padding: 20px;
|
|
margin: auto;
|
|
}
|
|
|
|
.blog-post {
|
|
max-width: 750px;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
main {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
aside {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.blog-post {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.post-title {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.post-content {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.post-content .lead {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.post-content h2 {
|
|
font-size: 26px;
|
|
margin: 36px 0 20px 0;
|
|
}
|
|
|
|
.post-content h3 {
|
|
font-size: 21px;
|
|
margin: 28px 0 16px 0;
|
|
}
|
|
|
|
.post-content blockquote {
|
|
font-size: 18px;
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.post-content pre {
|
|
padding: 16px;
|
|
margin: 24px -16px;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.profile-picture {
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
|
|
.profile-name {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.social-links a {
|
|
width: 38px;
|
|
height: 38px;
|
|
}
|
|
|
|
.social-links svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.post-title {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.post-content h2 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.post-content h3 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.tag-pills {
|
|
gap: 6px;
|
|
}
|
|
|
|
.tag-pill {
|
|
font-size: 12px;
|
|
padding: 4px 10px;
|
|
}
|
|
}
|
|
|
|
/* Home Page Styles */
|
|
.home-header {
|
|
text-align: center;
|
|
margin-bottom: 48px;
|
|
padding-bottom: 32px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
margin: 0 0 16px 0;
|
|
color: var(--text-primary);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.page-subtitle {
|
|
font-size: 20px;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.posts-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
}
|
|
|
|
.post-card {
|
|
background-color: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 32px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.post-card:hover {
|
|
border-color: var(--text-primary);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.post-card-header {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.post-card-title {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
margin: 0 0 12px 0;
|
|
color: var(--text-primary);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.post-card-link {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.post-card-link:hover {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.post-card-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 15px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.post-card-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.post-card-summary {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.post-card-summary p {
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.post-card-footer {
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.read-more-link {
|
|
color: var(--text-primary);
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
padding: 8px 16px;
|
|
border-radius: 4px;
|
|
transition: all 0.2s ease;
|
|
display: inline-block;
|
|
}
|
|
|
|
.read-more-link:hover {
|
|
background-color: var(--text-primary);
|
|
color: var(--bg-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 64px 32px;
|
|
background-color: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.empty-state h2 {
|
|
font-size: 24px;
|
|
color: var(--text-primary);
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.empty-state p {
|
|
font-size: 16px;
|
|
color: var(--text-secondary);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Responsive home page styles */
|
|
@media (max-width: 768px) {
|
|
.home-header {
|
|
margin-bottom: 32px;
|
|
padding-bottom: 24px;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 36px;
|
|
}
|
|
|
|
.page-subtitle {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.posts-list {
|
|
gap: 24px;
|
|
}
|
|
|
|
.post-card {
|
|
padding: 24px;
|
|
}
|
|
|
|
.post-card-title {
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.page-title {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.post-card {
|
|
padding: 20px;
|
|
}
|
|
|
|
.post-card-title {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.post-card-summary p {
|
|
font-size: 15px;
|
|
}
|
|
}
|