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

View file

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