-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
174 lines (149 loc) · 3.2 KB
/
styles.css
File metadata and controls
174 lines (149 loc) · 3.2 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/* Page base */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
line-height: 1.6;
color: #111;
}
a { text-decoration: underline; }
a:hover { text-decoration: none; }
/* Navbar: white background, black text */
.navbar {
background-color: #ffffff !important;
border-color: #e0e0e0 !important;
}
.navbar .navbar-brand,
.navbar-nav > li > a {
color: #238A8D !important;
font-weight: 700 !important;
}
.navbar .navbar-brand:hover,
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a,
.navbar-nav > li.active > a:hover,
.navbar-nav > li.active > a:focus {
color: #fbb731 !important;
}
/* Remove underline from navbar links */
.navbar a,
.navbar-nav a,
.navbar-nav > li > a {
text-decoration: none !important;
}
.navbar a:hover,
.navbar-nav a:hover {
text-decoration: none !important;
}
#header {
display: none;
}
/* Hero header (replacement for Hugo background section) */
.section-hero {
background: #238A8D;
color: #fff;
padding: 20px 0;
margin: -20px -20px 24px -20px; /* helps mimic section spanning full width */
}
.hero-inner {
max-width: 900px;
margin: 0 auto;
padding: 0 20px;
}
.hero-title {
margin: 0;
font-size: 2rem;
font-weight: 700;
}
.hero-subtitle {
margin: 6px 0 0 0;
opacity: 0.95;
font-size: 1rem;
}
/* Button (replacement for {{< mybutton >}} ) */
.btn-primary {
display: inline-block;
padding: 10px 14px;
border-radius: 10px;
background: #238A8D;
color: #fff !important;
text-decoration: none !important;
font-weight: 600;
border: 2px solid rgba(0,0,0,0.08);
}
.btn-primary:hover {
filter: brightness(0.95);
}
/* Centered responsive image (replacement for {{< figure >}} ) */
.img-center {
display: block;
margin: 12px auto 18px auto;
max-width: 220px;
width: 100%;
height: auto;
}
/* Callout boxes (replacement for guidebox/topicbox shortcodes) */
.guidebox,
.topicbox {
border-radius: 12px;
padding: 14px 16px;
margin: 18px 0;
border: 1px solid rgba(0,0,0,0.08);
background: rgba(35, 138, 141, 0.06);
}
.topicbox {
background: rgba(0,0,0,0.03);
}
/* Responsive video embed */
.video-wrap {
position: relative;
width: 100%;
max-width: 900px;
margin: 16px 0 24px 0;
padding-top: 56.25%; /* 16:9 */
}
.video-wrap iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border-radius: 12px;
}
/* Related Posts Section */
.related-posts-section {
margin: 48px 0 24px 0;
padding-top: 24px;
border-top: 2px solid rgba(35, 138, 141, 0.2);
}
.related-posts-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 16px;
margin-top: 20px;
}
.related-post-card {
border: 1px solid rgba(0,0,0,0.08);
padding: 16px;
border-radius: 12px;
background: rgba(35, 138, 141, 0.06);
transition: transform 0.2s;
}
.related-post-card:hover {
transform: translateY(-3px);
box-shadow: 0 2px 8px rgba(35, 138, 141, 0.15);
}
.related-post-card h3 {
margin-top: 0;
margin-bottom: 8px;
font-size: 1.1rem;
}
.related-post-card h3 a {
color: #238A8D;
text-decoration: none;
}
.related-post-card h3 a:hover {
text-decoration: underline;
}
.related-post-card .post-date {
color: #666;
font-size: 0.85em;
margin: 0;
}