8000 :bug: Fix minor styling issues on the homepage · ct-js/ct-js@e475b45 · GitHub
[go: up one dir, main page]

Skip to content

Commit e475b45

Browse files
🐛 Fix minor styling issues on the homepage
1 parent 0fe8936 commit e475b45

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/styl/tags/home-news.styl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
home-news
22
display block
3+
h2
4+
color white
5+
if (themeDark)
6+
color act
37
.&-aNewsRow
48
position relative
59
align-items center
610
gap 1rem
11+
margin-bottom 1rem
712
img
813
flex 0 0 auto
914
height 128px
1015
p
1116
margin 0.25rem 0 1rem
1217
line-height 1.5
18+
h2
19+
color acttext
1320
.&-aNewsBg
1421
position absolute
1522
top 0
@@ -23,6 +30,7 @@ home-news
2330
filter blur(5px)
2431
opacity 0.35
2532
.&-FeaturedGames, .&-LearningResources
33+
margin-top 0.5rem
2634
.Cards
2735
grid-template-columns repeat(auto-fill, minmax(21em, 1fr))
2836
align-items start

0 commit comments

Comments
 (0)
0