Skip to content

Commit d9777a1

Browse files
committed
fix: cleanup styles
1 parent aec42a0 commit d9777a1

File tree

4 files changed

+38
-10
lines changed

4 files changed

+38
-10
lines changed

_includes/pyos-blockquote.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
class="highlight-quote {% if include.class %}{{ include.class }}{% endif %}"
33
>
44
<p class="quote">{{ include.quote }}</p>
5+
{% if include.author or include.event %}
56
<footer>
67
{% if include.author %}<strong>~{{ include.author }}{% endif %}</strong>{%
78
if include.event %}, <em>{{ include.event }}</em>{% endif %}
89
</footer>
10+
{% endif %}
911
</blockquote>

_posts/2024-08-21-pyopensci-monumental-growth-2024.md renamed to _posts/2024-08-30-pyopensci-monumental-growth-2024.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ pyOpenSci makes open science more accessible by [developing educational resource
4343

4444
Our software peer review program has seen **over 50 packages**; we've [accepted 35 scientific Python packages into our growing library of trusted scientific Python packages](https://www.pyopensci.org/python-packages.html) and have **17 packages** in [active stages of review](https://github.com/orgs/pyOpenSci/projects/7) as I write this post.
4545

46-
[<i class="fa-solid fa-wand-magic-sparkles"></i> Learn more about how pyOpenSci started <i class="fa-solid fa-wand-magic-sparkles"></i>](/blog/how-pyopensci-got-started.html)
47-
{: .button }
46+
<!-- [<i class="fa-solid fa-wand-magic-sparkles"></i> Learn more about how pyOpenSci started <i class="fa-solid fa-wand-magic-sparkles"></i>](/blog/how-pyopensci-got-started.html)
47+
{: .button } -->
4848

4949
<figure>
5050
<a href="/images/pyopensci-general/pyopensci-flower-pillars.png">
@@ -203,10 +203,9 @@ I have created hundreds of [open online lessons](https://www.leahwasser.com/my-p
203203

204204
<i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i>
205205

206-
> Hi Leah. Thanks for the course today. I really enjoyed it. I heard about it from your post here in the Python channel so I'm glad you shared it here. I'll keep my eye out for more coming up and will be referring to the tutorials and guides on your site. Hopefully you work out the spatial chat because that seemed to have a lot of potential!
207-
I also want to let you know that I got a ton of value out of your materials on the CU Open Earth data analytics site, and it's still my go-to resource to point people to when they ask me how to get started learning the open source spatial stack. So thank you!
208-
> workshop attendee -- Software Underground community
209-
{: .highlight-quote }
206+
207+
{% include pyos-blockquote.html quote="Hi Leah. Thanks for the course today. I really enjoyed it. I heard about it from your post here in the Python channel so I'm glad you shared it here. I'll keep my eye out for more coming up and will be referring to the tutorials and guides on your site. Hopefully you work out the spatial chat because that seemed to have a lot of potential! I also want to let you know that I got a ton of value out of your materials on the CU Open Earth data analytics site, and it's still my go-to resource to point people to when they ask me how to get started learning the open source spatial stack. So thank you!" author="Michael Harty, Software Underground Community" class="highlight" %}
208+
210209

211210
<i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i><i class="fa-solid fa-heart-pulse" style="color: #B197FC;"></i>
212211

_sass/minimal-mistakes/_base.scss

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,16 @@ blockquote {
135135
blockquote.highlight-quote {
136136
border: none;
137137
font-family: Georgia, "Times New Roman", Times, serif;
138-
margin-bottom: 90px;
138+
margin-bottom: 130px;
139139
margin-top: 110px;
140140
padding: 0 80px 0 30px;
141141
max-width: 35rem;
142-
//quotes: "\201C""\201D""\2018""\2019";
143142

144143
footer {
145144
text-align: left;
146145
font-style: italic;
147146
font-weight: 500;
147+
text-align: right;
148148
}
149149

150150
p {
@@ -154,23 +154,24 @@ blockquote.highlight-quote {
154154

155155
&:before,
156156
&:after {
157-
position: absolute;
158157
font-weight: bold;
159158
font-size: 100px;
160159
color: $pyos-teal;
161160
line-height: 0;
162161
}
163162

164163
&:before {
164+
position: absolute;
165165
content: open-quote;
166166
left: 0;
167167
top: -20px;
168168
}
169169

170170
&:after {
171171
content: close-quote;
172+
position: absolute;
172173
right: 0;
173-
bottom: -20px;
174+
bottom: -80px;
174175
}
175176
}
176177
// Success class (magenta)
@@ -191,6 +192,11 @@ blockquote.highlight-quote {
191192
/* links */
192193

193194
a {
195+
text-underline-offset: .1em;
196+
text-decoration-color: rgba($text-color, 0.7);
197+
text-decoration: underline;
198+
199+
194200
&:focus {
195201
@extend %tab-focus;
196202
}
@@ -202,6 +208,9 @@ a {
202208
&:hover {
203209
color: $link-color-hover;
204210
outline: 0;
211+
text-decoration: none !important;
212+
text-decoration-line: none !important;
213+
transition: color 0.3s ease, text-decoration-color 0.3s ease;
205214
}
206215
}
207216

_sass/minimal-mistakes/_notices.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,21 @@
118118

119119
}
120120
}
121+
122+
/* Quotes in notice blocks */
123+
124+
.notice blockquote {
125+
font-size: 1.5em;
126+
margin: 5em 2em;
127+
max-width: 100%;
128+
129+
&.highlight-quote {
130+
p {
131+
margin-bottom: 3px;
132+
}
133+
134+
footer {
135+
text-align: right;
136+
}
137+
}
138+
}

0 commit comments

Comments
 (0)