Compare commits

...

2 commits

Author SHA1 Message Date
2b7bcb4122
Increase readibility of articles
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-04-21 16:46:48 -04:00
169659b540
Follow 80 characters per line rule 2024-04-21 16:31:19 -04:00
2 changed files with 43 additions and 14 deletions

View file

@ -40,7 +40,7 @@
<link href="{{base_url}}/css/webflow.css" rel="stylesheet" type="text/css">
<link href="{{base_url}}/css/compute-c23f91.webflow.css" rel="stylesheet" type="text/css">
<script
type="text/javascript">!function (o, c) {var n = c.documentElement, t = " w-mod-"; n.className += t + "js", ("ontouchstart" in o || o.DocumentTouch && c instanceof DocumentTouch) && (n.className += t + "touch")}(window, document);</script>
type="text/javascript">!function (o, c) { var n = c.documentElement, t = " w-mod-"; n.className += t + "js", ("ontouchstart" in o || o.DocumentTouch && c instanceof DocumentTouch) && (n.className += t + "touch") }(window, document);</script>
<link href="{{base_url}}/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="{{base_url}}/images/webclip.png" rel="apple-touch-icon">
</head>
@ -61,16 +61,20 @@
</div>
</div>
</div>
<div class="w-layout-vflex flex-block-2 purple" style="align-items: flex-start;">
<h1 class="heading-8" style="font-size: 72px; margin-top: 20px;">{{title}}</h1>
<div class="w-layout-hflex flex-block-3" style="margin-bottom: 10px;">
{% for author in authors %}
<img src="{{author.avatar_url}}" loading="lazy" width="32" height="32" alt="{{author.full_name}}'s Avatar"
class="image">
<div class="text-block-2">{{author.full_name}}</div>
{% endfor %}
<div class="w-layout-vflex flex-block-2 purple">
<div id="header-elements" style="align-items: flex-start;">
<h1 class="heading-8" style="font-size: 72px; margin-top: 20px;">{{title}}</h1>
<div class="w-layout-hflex flex-block-3" style="margin-bottom: 10px;">
{% for author in authors %}
<img src="{{author.avatar_url}}" loading="lazy" width="32" height="32" alt="{{author.full_name}}'s Avatar"
class="image">
<div class="text-block-2">{{author.full_name}}</div>
{% endfor %}
</div>
<p class="text-block-2" style="margin-left: 20px;margin-bottom: 20px;margin-top:20px;font-size: 16px">
{{published}}
</p>
</div>
<p style="margin-left: 20px;color: white;font-size: 16px">{{published}}</p>
</div>
<article class="content">{{body}}</article>
<hr>

View file

@ -44,7 +44,13 @@
}
article {
margin: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
article>* {
line-height: 1.5;
}
h1 {
@ -97,12 +103,11 @@ li {
}
.flex-block-2.purple {
color: #333;
background-color: #552a85;
flex-flow: column;
justify-content: space-around;
padding-top: 0;
display: flex;
background-color: #552a85;
overflow-x: hidden;
}
@ -197,16 +202,36 @@ li {
}
.text-block-2 {
color: #fff;
color: white;
font-size: 18px;
}
article>* {
width: 96vw;
max-width: 940px;
}
#header-elements {
width: 96vw;
max-width: 940px;
}
@media screen and (max-width: 991px) {
.heading-3.unwrapped-compute.compute-gradiant {
height: 22vw;
min-height: 0%;
}
article>* {
width: 96vw;
max-width: 575px;
}
#header-elements {
width: 96vw;
max-width: 575px;
}
.grid {
grid-template-columns: 1fr;
}