Skip to content

Commit 4ba7bda

Browse files
committed
Adjust styling for different screen sizes
1 parent 223c5af commit 4ba7bda

File tree

2 files changed

+34
-10
lines changed

2 files changed

+34
-10
lines changed

index.html.pm

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
◊(require string-interpolation)
44

55
◊`(div ([class ,"flex bg-[@{raisin-black}]"])
6-
(div ([class "hidden my-2 lg:flex flex-col items-center shrink-0 justify-around ml-12 xl:ml-36"])
6+
(div ([class "hidden my-2 md:flex flex-col items-center shrink-0 justify-around ml-6 lg:ml-12 xl:ml-36"])
77
,(badge "Locality of Behavior")
88
(a ([href "https://nixos.org"])
9-
(img ([src "assets/logos/nix.png"] [class "aspect-auto w-24"])))
9+
(img ([src "assets/logos/nix.png"] [class "aspect-auto w-16 lg:w-24"])))
1010
,(badge "Simplicity")
1111
(a ([href "https://clojure.org"])
12-
(img ([src "assets/logos/clojure.svg"] [class "aspect-auto w-24"])))
12+
(img ([src "assets/logos/clojure.svg"] [class "aspect-auto w-16 lg:w-24"])))
1313
,(badge "Lenses")
1414
(a ([href "https://rust-lang.org"])
15-
(img ([src "assets/logos/ferris.svg"] [class "aspect-auto w-24"])))
15+
(img ([src "assets/logos/ferris.svg"] [class "aspect-auto w-16 lg:w-24"])))
1616
,(badge "Reproducibility")
1717
)
1818
(div ([class ,"flex flex-col justify-between mx-auto min-h-screen max-w-screen-xl px-4 pt-12 md:px-8 md:pt-20 lg:px-16 text-zinc-300"])
@@ -44,22 +44,22 @@
4444
(path ([stroke-linecap "round"] [stroke-linejoin "round"] [d "m19.5 8.25-7.5 7.5-7.5-7.5"]))))
4545
)
4646
)
47-
(div ([class "hidden my-2 lg:flex flex-col items-center shrink-0 justify-around mr-12 xl:mr-36"])
47+
(div ([class "hidden my-2 md:flex flex-col items-center shrink-0 justify-around mr-6 lg:mr-12 xl:mr-36"])
4848
,(badge "Functional Data Structures")
4949
(a ([href "https://www.haskell.org/"])
50-
(img ([src "assets/logos/haskell.svg"] [class "aspect-auto w-28"])))
50+
(img ([src "assets/logos/haskell.svg"] [class "aspect-auto w-16 lg:w-28"])))
5151
,(badge "Category Theory")
5252
(a ([href "https://elixir-lang.org"])
53-
(img ([src "assets/logos/elixir.svg"] [class "aspect-auto w-24"])))
53+
(img ([src "assets/logos/elixir.svg"] [class "aspect-auto w-16 lg:w-24"])))
5454
,(badge "Distributed Systems")
5555
(a ([href "https://racket-lang.org"])
56-
(img ([src "assets/logos/racket.svg"] [class "aspect-auto w-24"])))
56+
(img ([src "assets/logos/racket.svg"] [class "aspect-auto w-16 lg:w-24"])))
5757
,(badge "Low Coupling")
5858
)
5959
)
6060

6161
◊`(div ([class "bg-white"])
62-
(div ([id "meetup"] [class "min-h-screen my-4 text-zinc-700 mx-auto h-full max-w-screen-md px-6 py-12 md:px-12 md:py-20 lg:px-24"])
62+
(div ([id "meetup"] [class "min-h-screen text-zinc-700 mx-auto h-full max-w-screen-md px-6 pt-12 md:px-12 md:pt-20 lg:px-24"])
6363
,(heading "About")
6464
(p ([class "my-4 sm:text-lg leading-relaxed"])
6565
"Hi 👋")
@@ -71,6 +71,30 @@
7171
(p ([class "my-4 sm:text-lg leading-relaxed"])
7272
"The first event will take place at the dd.mm.yy at the " (a ([href "https://ki-maker.space/"]) "KI Makerspace Tübingen") ", Wöhrdstraße 25.")
7373
,(heading "Schedule")
74+
(ul ([class "list-disc list-inside mx-2 my-4 sm:text-lg leading-relaxed"])
75+
(li "18.30 Doors open")
76+
(li "18.45 Welcome")
77+
(li "First talk: Simple development environments with Nix")
78+
(li "Short break")
79+
(li "Second talk: ")
80+
(li "Food, talking, coding, whatever")
81+
(li "22.00 End")
82+
)
83+
84+
(div ([class "mt-8"])
85+
(p ([class "my-4 sm:text-lg leading-relaxed"])
86+
"Want to keep posted about the next event?")
87+
(a ([href "https://matrix.to/#/#functional-coders-tuebingen:matrix.org"]
88+
[class ,"ml-4 inline-flex gap-4 items-center hover:text-[@{jordy}] focus-visible:text-[@{jordy}] duration-300"])
89+
(svg ([xmlns "http://www.w3.org/2000/svg"] [fill "none"] [viewBox "0 0 24 24"] [stroke-width "1"] [stroke "currentColor"] [class "size-8"])
90+
(path ([stroke-linecap "round"] [stroke-linejoin "round"] [d "M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"]))
91+
(span ([class "text-xl text-[@{jordy}] font-fira-code tracking-tighter leading-snug"]) "Join our Matrix Room")))
92+
(p ([class "my-4 sm:text-lg leading-relaxed"])
93+
"And with that..."
94+
(br)
95+
"Looking forward to see you at our next meetup!")
96+
)
97+
7498
)
7599
)
76100

pollen.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
(define (badge topic)
1515
`(div ([class "mr-1.5 mb-2"])
16-
(div ([class ,"flex items-center rounded-full bg-[@{celadon}]/10 px-4 py-2 text-sm font-medium leading-5 text-[@{celadon}]"]) ,topic)))
16+
(div ([class ,"flex items-center rounded-full bg-[@{celadon}]/10 px-3 lg:px-4 py-1 lg:py-2 text-xs lg:text-sm font-medium leading-5 text-[@{celadon}]"]) ,topic)))
1717

1818
; (->badges "Haskell, Nix, Racket")
1919
(define (->badges topics)

0 commit comments

Comments
 (0)