-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinline-content.css
More file actions
131 lines (112 loc) · 2.64 KB
/
inline-content.css
File metadata and controls
131 lines (112 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/* Shared styles for inline content pages (word, poem, aphorism) */
/* Container styles */
.poems-grid,
.aphorisms-list,
.words-list {
display: flex;
flex-direction: column;
gap: var(--space-2xl);
max-width: var(--max-width-narrow);
margin: 0 auto var(--space-2xl);
}
/* Card styles */
.poem-card,
.aphorism-card,
.word-card {
background: var(--gradient-card);
border-left: 3px solid var(--color-accent-blue);
border-radius: var(--border-radius-md);
padding: var(--space-xl);
position: relative;
overflow: hidden;
transition: all var(--transition-fast);
}
.poem-card {
padding: var(--space-xl) var(--space-xl);
}
/* Hover effects removed for cleaner appearance */
/* Content styles */
.poem-content,
.aphorism-text,
.word-content {
font-family: var(--font-family-sans);
font-size: var(--font-size-base);
line-height: var(--line-height-relaxed);
color: var(--color-text-secondary);
margin: 0;
font-style: italic;
}
/* Poem-specific: preserve whitespace */
.poem-content {
white-space: pre-wrap;
display: block;
}
/* Word-specific styles */
.word-content {
font-style: normal;
color: var(--color-text-primary);
}
.word-content h2 {
font-size: var(--font-size-xl);
color: var(--color-text-primary);
margin-bottom: var(--space-lg);
margin-top: 0;
}
.word-content p {
margin-bottom: var(--space-xl);
line-height: var(--line-height-relaxed);
}
.word-content blockquote {
border: none !important;
border-left: none !important;
margin: 0;
padding: 0 !important;
padding-left: 0 !important;
font-style: italic;
background: none !important;
}
.word-content blockquote p {
margin-bottom: 0;
color: var(--color-text-secondary);
}
.word-content a {
color: var(--color-link);
text-decoration: none;
border-bottom: 1px solid var(--color-link);
transition: all var(--transition-fast);
padding: 2px 0;
}
.word-content a:hover {
color: var(--color-link-hover);
border-bottom-color: var(--color-link-hover);
background: var(--gradient-card);
padding: 2px var(--space-xs);
border-radius: var(--border-radius-sm);
}
/* Mobile Responsive */
@media (max-width: 768px) {
.poems-grid,
.aphorisms-list,
.words-list {
gap: var(--space-xl); /* Increased from space-lg for more spacing between items */
padding: 0 var(--space-md);
}
.poem-card {
padding: var(--space-lg) var(--space-md);
margin-left: 0;
}
.aphorism-card,
.word-card {
padding: var(--space-md);
margin-left: 0;
}
.word-content h2 {
font-size: var(--font-size-lg);
}
.word-content blockquote {
padding-left: var(--space-md);
}
.aphorism-text {
font-size: var(--font-size-base);
}
}