Skip to content

Commit a5de233

Browse files
committed
Styling
1 parent 8c5777a commit a5de233

File tree

7 files changed

+26
-120
lines changed

7 files changed

+26
-120
lines changed

_includes/elements/dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<span class="{{ include.menu_class }}">
2-
<button class="btn btn-secondary dropdown-toggle" type="button" id="{{ include.id }}" data-bs-toggle="dropdown" aria-expanded="false" style="padding: 0.125rem 0.3rem 0.125rem 0.3rem; background: linear-gradient(to right, rgba(131, 131, 131, 0.9), rgba(153, 153, 153, 0.9));">
2+
<button class="btn btn-secondary dropdown-toggle" type="button" id="{{ include.id }}" data-bs-toggle="dropdown" aria-expanded="false" style="padding: 0.125rem 0.3rem 0.125rem 0.3rem; background: linear-gradient(to right, rgba(131, 131, 131, 0.9), rgba(153, 153, 153, 0.9)); font-size: 1.125rem; line-height: 1.25;">
33
{{ include.label }}
44
</button>
55
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="{{ include.id }}">

_includes/landing.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
<!-- Fine Circle Responsive Image -->
55
<div id="container" class="my-2">
6-
<div id="dummy"></div>
76
<div id="element">
87
<img src="{{ site.author.image }}" alt="{{ site.title }}" class="circle-image wow animated zoomIn"
98
data-wow-delay=".1s" data-toggle="tooltip" title="me">
@@ -16,7 +15,6 @@ <h3 class="font-weight-bold">Hi! Welcome to my website</h3>
1615
</div>
1716
</div>
1817

19-
2018
</div>
2119

2220
<section class="p-4 align-items-start" class="text-muted wow animated slideInUp" data-wow-delay=".1s">

_posts/UNPUBLISHED_2025-01-22-geometric-fitting-intuition.md

Lines changed: 0 additions & 107 deletions
This file was deleted.

_sass/_dropdown.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
display: block;
2828
color: #f8f9fa;
2929
padding: 0.5rem 1rem;
30+
font-size: 1.125rem;
3031

3132
&:hover {
3233
background-color: #495057;
@@ -61,5 +62,3 @@
6162
.d-flex > span {
6263
margin-right: 10px;
6364
}
64-
65-

_sass/_landing.scss

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
// Inspired by https://stackoverflow.com/a/6615994/10194811
33

44
#container {
5-
display: inline-block;
5+
display: flex;
6+
justify-content: center;
7+
align-items: center;
68
position: relative;
79
width: 100%;
8-
}
9-
10-
#dummy {
11-
padding-top: 100%; /* 1:1 aspect ratio */
10+
height: 0;
11+
padding-bottom: 100%; /* Maintains a 1:1 aspect ratio */
12+
font-size: 0; /* Removes extra whitespace caused by inline-block elements */
1213
}
1314

1415
#element {
@@ -17,12 +18,19 @@
1718
bottom: 0;
1819
left: 0;
1920
right: 0;
21+
margin: 0;
22+
padding: 0;
23+
display: flex;
24+
justify-content: center;
25+
align-items: center;
2026
}
2127

2228
.circle-image {
23-
width: 100%;
24-
height: 100%;
29+
width: 80%;
30+
height: 80%;
2531
border-radius: 50%;
2632
object-fit: cover;
2733
object-position: center;
34+
display: block; /* Removes any space below the image */
2835
}
36+

_sass/_markdown.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,12 @@
114114
background-color: rgba(0, 0, 0, 0.05);
115115
}
116116
}
117+
118+
p {
119+
font-size: 1.25rem;
120+
line-height: 1.5;
121+
}
122+
123+
font-size: 1.25rem;
124+
line-height: 1.5;
117125
}

_sass/_navbar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
.nav-link,
99
.navbar-brand {
10-
font-size: 18px;
10+
font-size: 22px;
1111

1212
&::after {
1313
@extend .link-after;

0 commit comments

Comments
 (0)