-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.qmd
More file actions
274 lines (191 loc) · 5.94 KB
/
styles.qmd
File metadata and controls
274 lines (191 loc) · 5.94 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
---
title: "Style Guide"
---
# Website Style Components
This page demonstrates all the custom style elements used throughout the website and shows how to implement them.
## Hero Profile Section
The main hero section uses a two-column flex layout with a circular profile image and content area.
### Implementation:
```html
<div class="hero-profile-section">
<div class="profile-container">
<div class="profile-image-col">
{.profile-image}
</div>
<div class="profile-content-col">
# [Your Name]{.gradient-text}
**Your Title**
*Your Subtitle*
Your description text here...
</div>
</div>
</div>
```
### Example:
<div class="hero-profile-section">
<div class="profile-container">
<div class="profile-image-col">
{.profile-image}
</div>
<div class="profile-content-col">
# [Demo Profile]{.gradient-text}
**Style Guide Example**
*Demonstrating Profile Layout*
This shows how the hero profile section displays with the circular image and gradient text effect.
</div>
</div>
</div>
---
## Gradient Text Effect
The animated gradient text effect cycles through multiple colors with smooth transitions.
### Implementation:
```html
# [Your Gradient Text]{.gradient-text}
```
### Examples:
# [Main Heading with Gradient]{.gradient-text}
## Regular Heading (No Gradient)
### Color Scheme:
- **#4C7C71** (Teal)
- **#2B3949** (Dark Blue)
- **#3F5877** (Medium Blue)
- **#e76f52** (Orange)
---
## Section Container Layout
Two-column sections with a fixed-width header column and flexible content column.
### Implementation:
```html
<div class="section-container">
<div class="section-header-col">
## Section Title
</div>
<div class="section-content-col">
Your content here...
</div>
</div>
```
### Example:
<div class="section-container">
<div class="section-header-col">
## Highlights
</div>
<div class="section-content-col">
- **Bold Achievement** - Description of the achievement
- **Another Achievement** - More details about accomplishments
- **Third Achievement** - Additional information
</div>
</div>
<div class="section-container">
<div class="section-header-col">
## Experience
</div>
<div class="section-content-col">
**Job Title** (2020-2025)
*Company Name*
Description of role and responsibilities.
**Previous Role** (2018-2020)
*Previous Company*
Description of previous experience.
</div>
</div>
---
## Custom List Styling
Lists use custom arrow bullet points instead of standard bullets.
### Implementation:
```html
<div class="section-content-col">
- List item one
- List item two
- List item three
</div>
```
### Example:
<div class="section-content-col">
- This list uses custom arrow bullets
- Each item has the orange arrow style
- The styling is applied automatically within section-content-col
</div>
---
## Typography Hierarchy
The website uses Open Sans font family with specific sizing and colors.
### Implementation:
- **H1**: 3rem, gradient text available with `.gradient-text`
- **H2**: 1.75rem, color #2B3949
- **Body**: Standard sizing with Open Sans
### Examples:
# H1 Heading (3rem)
## H2 Heading (1.75rem)
### H3 Heading (Default)
Regular paragraph text maintains good readability with the Open Sans font family.
**Bold text** and *italic text* maintain proper contrast and readability.
---
## Bootstrap Carousel
Custom styled carousel with black arrow navigation.
### Implementation:
```html
::::::: {#carouselId .carousel .slide .my-4 data-bs-ride="carousel" style="max-width: 600px; margin: 0 auto;"}
::: carousel-indicators
<button type="button" data-bs-target="#carouselId" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1">
</button>
<button type="button" data-bs-target="#carouselId" data-bs-slide-to="1" aria-label="Slide 2">
</button>
:::
::::: carousel-inner
::: {.carousel-item .active}
<img src="image1.jpg" alt="Description" class="d-block w-100" style="height: 400px; object-fit: contain;"/>
:::
::: carousel-item
<img src="image2.jpg" alt="Description" class="d-block w-100" style="height: 400px; object-fit: contain;"/>
:::
:::::
<button class="carousel-control-prev" type="button" data-bs-target="#carouselId" data-bs-slide="prev">
[Previous]{.visually-hidden}
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselId" data-bs-slide="next">
[Next]{.visually-hidden}
</button>
:::::::
```
### Features:
- **Clean white background**
- **Black arrow navigation** (always visible)
- **Responsive image sizing** (object-fit: contain)
- **Centered layout** with max-width constraint
---
## Mobile Responsive Design
All layouts automatically adapt for mobile devices:
### Breakpoint: 768px
- **Hero section**: Stacks vertically, centers image
- **Section containers**: Switch to single column
- **Profile image**: Reduces to 200px on mobile
- **Typography**: Maintains readability
### Implementation:
The responsive design is handled automatically by the CSS. No additional markup needed.
---
## Color Palette
### Primary Colors:
- **Dark Blue**: `#2B3949` (Main text, headings)
- **Medium Blue**: `#3F5877` (Accents)
- **Teal**: `#4C7C71` (Gradient)
- **Orange**: `#e76f52` (Highlights, arrows)
### Usage:
- **Headers**: Dark blue (#2B3949)
- **Gradient text**: Animated through all colors
- **Arrows/bullets**: Orange (#e76f52)
- **Borders**: Dark blue (#2B3949)
---
## CSS Classes Reference
### Layout Classes:
- `.hero-profile-section` - Main hero container
- `.profile-container` - Flex container for hero content
- `.profile-image-col` - Fixed-width image column
- `.profile-content-col` - Flexible content column
- `.section-container` - Two-column section layout
- `.section-header-col` - Fixed-width header column
- `.section-content-col` - Flexible content column
### Styling Classes:
- `.gradient-text` - Animated gradient text effect
- `.profile-image` - Circular profile image styling
### Component Classes:
- `.carousel` - Bootstrap carousel with custom arrows
- Standard Bootstrap classes work with custom styling