11@import url ('https://unpkg.com/@catppuccin/palette/css/catppuccin.css' );
22
3+ /* Root Variables */
34: root {
45 font-family : Inter, sans-serif;
56 font-feature-settings : 'liga' 1 , 'calt' 1 ;
1415 }
1516}
1617
18+ /* Body */
1719body {
1820 background : rgb (var (--ctp-latte-base-rgb ));
1921 margin : 0 ;
@@ -23,21 +25,23 @@ body {
2325 flex-direction : column;
2426}
2527
28+ /* Links */
2629a {
27- color : var (--ctp-latte-blue );
28- font-variation-settings : "wght" 600 ;
30+ color : var (--ctp-latte-blue );
2931 font-weight : 600 ;
3032 text-decoration : none;
3133 cursor : pointer;
32- font-variation-settings : "wght" 600 ; /* needed for webkit */
34+ font-variation-settings : "wght" 600 ; /* Ensures weight applies properly */
3335}
3436
37+ /* Content */
3538.content {
3639 margin : 1em ;
3740 padding : 2em 0 4em ;
3841 flex-grow : 1 ;
3942}
4043
44+ /* Headings */
4145h1 {
4246 color : var (--ctp-latte-lavender );
4347 font-size : 4.1rem ;
4751 margin : 0 0 0.25em ;
4852}
4953
54+ h1 , h2 , h3 , h4 , h5 , h6 {
55+ margin : 3rem 0 1rem ;
56+ font-weight : 800 ;
57+ line-height : 1.25 ;
58+ }
59+
60+ /* Header Bar */
5061.headerbar {
5162 display : flex;
52- background : rgba (239 , 241 , 245 , 0.8 );
5363 justify-content : center;
5464 align-items : center;
5565 height : 2.9375rem ;
56- padding : 0 ;
5766 width : 100% ;
5867 position : sticky;
5968 top : 0 ;
69+ padding : 0 ;
70+ background : rgba (239 , 241 , 245 , 0.8 );
6071 backdrop-filter : blur (12px );
6172 z-index : 9999 ;
6273}
6374
75+ /* View Switcher */
6476.view-switcher {
6577 display : flex;
6678 justify-content : center;
8092}
8193
8294.view-switcher a {
83- color : rgb (var (--ctp-latte-text-rgb ));
84- text-decoration : none;
85- font-weight : bold;
86- width : 7.375rem ;
87- height : 2rem ;
8895 display : flex;
8996 align-items : center;
9097 justify-content : center;
91- gap : 0.25rem ;
98+ width : 7.375rem ;
99+ height : 2rem ;
100+ color : rgb (var (--ctp-latte-text-rgb ));
101+ font-weight : bold;
102+ text-decoration : none;
92103 border-radius : 0.375rem ;
93104 transition : background-color 0.2s ease, color 0.2s ease;
94105}
95106
96107.view-switcher a : hover ,
97108.view-switcher a : focus {
98109 background-color : rgba (124 , 127 , 147 , 0.3 );
99- border-radius : 0.375rem ;
100110}
101111
102112.view-switcher .current {
103- background-color : rgb (201 , 207 , 219 , 0.5 );
104- border-radius : 0.375rem ;
113+ background-color : rgba (201 , 207 , 219 , 0.5 );
105114}
106115
107-
108-
116+ /* Footer */
109117body > footer {
110118 background-color : var (--ctp-frappe-base );
111119 color : var (--ctp-frappe-text );
112- flex-basis : auto;
113- flex-grow : 0 ;
114- flex-shrink : 0 ;
115120 line-height : 4em ;
116121 padding : 1rem 1rem 0 ;
117122 text-align : center;
118123 margin-top : auto;
119124}
120125
126+ /* Social Links */
121127.social {
122128 list-style : none;
123- padding : 0 ;
124- margin : 0 ;
125129 display : flex;
126130 justify-content : center;
131+ padding : 0 ;
132+ margin : 0 ;
127133}
128134
129135.social li {
@@ -135,47 +141,44 @@ body > footer {
135141 text-decoration : none;
136142}
137143
144+ /* Cards Grid */
138145.cards-grid {
139- display : grid;
140- grid-template-columns : calc (50% - 32px ) auto;
141- gap : 32px ;
146+ display : grid;
147+ grid-template-columns : calc (50% - 32px ) auto;
148+ gap : 32px ;
142149}
143150
151+ /* Tiles */
144152.tile {
145- margin : 1rem ;
146- padding : 54px ;
147- border-radius : 24px ;
148- background-color : var (--ctp-frappe-base );
153+ margin : 1rem ;
154+ padding : 54px ;
155+ border-radius : 24px ;
156+ background-color : var (--ctp-frappe-base );
149157 color : var (--ctp-frappe-text );
150158}
151159
152160.tile a {
153- color : var (--ctp-frappe-blue );
154- font-variation-settings : "wght" 600 ;
155- }
156-
157- .tile {
158- & h3 {
159- margin : 0 ;
160- font-size : 1.2rem ;
161- }
161+ color : var (--ctp-frappe-blue );
162+ font-variation-settings : "wght" 600 ;
162163}
163164
164- h1 , h2 , h3 , h4 , h5 , h6 {
165- margin : 3rem 0 1rem ;
166- font-weight : bold;
167- font-weight : 800 ;
168- line-height : 1.25 ;
165+ .tile h3 {
166+ margin : 0 ;
167+ font-size : 1.2rem ;
169168}
170169
170+ /* External Link Icon */
171171a [href ^= "http" ]: not (: has (.arrow )): not (: has (img )): not (: has (svg ))::after {
172- margin : 0 0.1em 0 0.2em ;
173- content : "" ;
174- display : inline-block;
175- width : 0.75em ;
176- height : 0.75em ;
177- mask-image : url ("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSI+PHBhdGggc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjgiIGQ9Ik04IDd2LjVhMiAyIDAgMCAxLTIgMkgzYTIgMiAwIDAgMS0yLTJ2LTNhMiAyIDAgMCAxIDItMmguNW0xIDMuNSA1LTVtMCAwSDZtMy41IDB2My41Ii8+PC9zdmc+" );
178- mask-repeat : no-repeat;
179- mask-size : contain;
180- background-color : currentColor;
172+ margin : 0 0.1em 0 0.2em ;
173+ content : "" ;
174+ display : inline-block;
175+ width : 0.75em ;
176+ height : 0.75em ;
177+ mask-image : url ("data:image/svg+xml;charset=utf-8,\
178+ PHN2 ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSI+\
179+ PHBhdGggc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjgiIGQ9Ik04IDd2LjVhMiAyIDAgMCAxLTIgMkgzYTIgMiAwIDAgMS0yLTJ2LTNhMiAyIDAgMCAxIDItMmguNW0xIDMuNSA1LTVtMCAwSDZtMy41IDB2My41Ii8+\
180+ PC9zdmc+");
181+ mask-repeat : no-repeat;
182+ mask-size : contain;
183+ background-color : currentColor;
181184}
0 commit comments