File tree Expand file tree Collapse file tree 2 files changed +42
-4
lines changed Expand file tree Collapse file tree 2 files changed +42
-4
lines changed Original file line number Diff line number Diff line change 1010 < div class ="newspost-header ">
1111 < img src ="{% base %}{{ page.postimg }} " alt ="{{ page.postimgalttext }} "/>
1212 < h1 > {{ page.title }}</ h1 >
13- < time class ="text-uppercase " datetime ="{{ page.date | date: "%Y-%m-%d " }}"> {{ page.date | date: "%B %d, %Y" }}</ time >
13+ < div >
14+ < time class ="text-uppercase " datetime ="{{ page.date | date: "%Y-%m-%d " }}"> {{ page.date | date: "%B %d, %Y" }}</ time >
15+ < span > ·</ span >
16+ < span rel ="author "> {{ page.author }}</ span >
17+ </ div >
1418 < p > {{ page.description }}</ p >
1519 < div class ="horizontal-rule "> </ div >
1620 </ div >
@@ -23,4 +27,4 @@ <h1>{{ page.title }}</h1>
2327 {% include footer.html %}
2428</ body >
2529
26- </ html >
30+ </ html >
Original file line number Diff line number Diff line change 2020 }
2121
2222 time {
23- padding : 0 8vw 0 8vw ;
23+ padding : 0 0 0 8vw ;
24+ }
25+
26+ span {
27+ color : var (--purple );
28+ line-height : 1.5 ;
2429 }
2530
2631 p {
32+ text-wrap : pretty;
2733 font-variation-settings : ' wght' 500 ;
2834 font-size : 1.4rem ;
2935 margin-bottom : 4rem ;
6975 article {
7076 padding-left : 8vw ;
7177 padding-right : 8vw ;
78+ max-width : 100ch ;
7279
7380 h1 {
7481 font-size : 3.5rem ;
7582 }
7683
7784 h2 {
7885 font-size : 2.5rem ;
79- margin-top : 6 rem ;
86+ margin-top : 4 rem ;
8087 }
8188
8289 h3 {
191198 }
192199 }
193200}
201+
202+ /* from: https://dmnfarrell.github.io/software/jekyll-galleries */
203+ .image-gallery {
204+ width : 100% ;
205+ display : grid ;
206+ grid-template-columns : repeat (auto-fill ,minmax (200px , 1fr ));
207+ justify-content : center ;
208+ padding : 4px ;
209+ }
210+
211+ .box {
212+ flex-basis : 25% ;
213+ width : 100% ;
214+ padding : 10px ;
215+ margin : 2px ;
216+ }
217+
218+ .img-gallery {
219+ width : 100% ;
220+ height : 200px ;
221+ object-fit : cover ;
222+ transform : scale (1 );
223+ transition : all 0.3s ease-in-out ;
224+ & :hover {
225+ transform : scale (1.05 );
226+ }
227+ }
You can’t perform that action at this time.
0 commit comments