File tree Expand file tree Collapse file tree 3 files changed +81
-81
lines changed
Expand file tree Collapse file tree 3 files changed +81
-81
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ params:
2323 date_format : " 2 January 2006"
2424 custom_css :
2525 - " css/custom.css"
26+ - " css/custom2.css"
2627 - " css/scroll-banner.css"
2728 - " css/custom-cursor.css"
2829
Original file line number Diff line number Diff line change @@ -234,87 +234,6 @@ body.page-not-found .mw7 {
234234 font-style : italic;
235235}
236236
237- /* ----------------------------- */
238- /* ------------FLAGS------------- */
239- /* ----------------------------- */
240-
241- /* container */
242- .pill-web-links {
243- display : flex;
244- flex-direction : column;
245- gap : 0.6rem ;
246- }
247-
248- /* card */
249- .pill-2 {
250- position : relative;
251- display : block;
252- width : 100% ;
253- height : 260px ;
254- border-radius : 6px ;
255- overflow : hidden;
256- text-decoration : none;
257- background : # 000 ; /* fallback while image loads */
258- }
259-
260- /* background image layer */
261- .pill-2 img {
262- position : absolute;
263- top : 0 ;
264- left : 0 ;
265- width : 100% ;
266- height : 100% ;
267- object-fit : cover;
268- }
269-
270- /* overlay (does NOT darken text) */
271- .pill-2 ::after {
272- content : "" ;
273- position : absolute;
274- inset : 0 ;
275- background : rgba (0 , 0 , 0 , 0.35 );
276- }
277-
278- /* centered text */
279- .pill-2 span {
280- position : absolute;
281- inset : 0 ;
282- display : flex;
283- align-items : center;
284- justify-content : center;
285-
286- color : # fff ;
287- font-weight : 700 ;
288- font-size : 2.2rem ;
289- text-align : center;
290- padding : 0 1rem ;
291-
292- /* crisp readable stroke */
293- -webkit-text-stroke : 1.5px # 000 ;
294- paint-order : stroke fill;
295-
296- z-index : 2 ;
297- }
298-
299- /* hover */
300- .pill-2 : hover {
301- transform : translateY (-2px );
302- box-shadow : 0 4px 10px rgba (0 , 0 , 0 , 0.35 );
303- }
304-
305- /* banner */
306- .banner-wrapper {
307- background : # 000 ;
308- text-align : center;
309- }
310-
311- .banner-gif {
312- display : block;
313- max-width : 100% ;
314- height : auto;
315- margin : 0 auto;
316- }
317-
318237/* ----------------------------- */
319238/* ----------------------------- */
320239/* ----------------------------- */
Original file line number Diff line number Diff line change 1+ /* ----------------------------- */
2+ /* ------------FLAGS------------- */
3+ /* ----------------------------- */
4+
5+ /* container */
6+ .pill-web-links {
7+ display : flex;
8+ flex-direction : column;
9+ gap : 0.6rem ;
10+ }
11+
12+ /* card */
13+ .pill-2 {
14+ position : relative;
15+ display : block;
16+ width : 100% ;
17+ height : 260px ;
18+ border-radius : 6px ;
19+ overflow : hidden;
20+ text-decoration : none;
21+ background : # 000 ; /* fallback while image loads */
22+ }
23+
24+ /* background image layer */
25+ .pill-2 img {
26+ position : absolute;
27+ top : 0 ;
28+ left : 0 ;
29+ width : 100% ;
30+ height : 100% ;
31+ object-fit : cover;
32+ }
33+
34+ /* overlay (does NOT darken text) */
35+ .pill-2 ::after {
36+ content : "" ;
37+ position : absolute;
38+ inset : 0 ;
39+ background : rgba (0 , 0 , 0 , 0.35 );
40+ }
41+
42+ /* centered text */
43+ .pill-2 span {
44+ position : absolute;
45+ inset : 0 ;
46+ display : flex;
47+ align-items : center;
48+ justify-content : center;
49+
50+ color : # fff ;
51+ font-weight : 700 ;
52+ font-size : 2.2rem ;
53+ text-align : center;
54+ padding : 0 1rem ;
55+
56+ /* crisp readable stroke */
57+ -webkit-text-stroke : 1.5px # 000 ;
58+ paint-order : stroke fill;
59+
60+ z-index : 2 ;
61+ }
62+
63+ /* hover */
64+ .pill-2 : hover {
65+ transform : translateY (-2px );
66+ box-shadow : 0 4px 10px rgba (0 , 0 , 0 , 0.35 );
67+ }
68+
69+ /* banner */
70+ .banner-wrapper {
71+ background : # 000 ;
72+ text-align : center;
73+ }
74+
75+ .banner-gif {
76+ display : block;
77+ max-width : 100% ;
78+ height : auto;
79+ margin : 0 auto;
80+ }
You can’t perform that action at this time.
0 commit comments