forked from BoseVJeff/DSCNUV_Website-master
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style-new.css
93 lines (82 loc) · 2.1 KB
/
style-new.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
@font-face {
font-family: Roboto;
/* src: url('Roboto/Roboto-Regular.ttf'); */
src: url('Roboto_Flex/RobotoFlex-VariableFont_GRAD\,XTRA\,YOPQ\,YTAS\,YTDE\,YTFI\,YTLC\,YTUC\,opsz\,slnt\,wdth\,wght.ttf');
}
* {
font-family: 'Roboto', sans-serif;
/* Fix to make sure that the image is properly sized */
/* height: 100%; */
}
.navbar-brand img {
max-height: 2rem;
}
section#hero {
background-image: url('assets/images/hero/hero-bg.png');
background-size: cover;
background-position: center;
}
/* Bootstrap Icons */
.bs-icon {
width: 1rem;
height: 1rem;
}
.evt-parent {
display: flex;
place-items: center;
width: 100%;
}
.evt-section {
/* display: flex;
flex-direction: row;
flex-wrap: wrap; */
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: auto;
grid-template-areas: 'main evts';
gap: 0.5rem;
justify-items: stretch;
align-items: center;
max-height: 75%;
--blue-primary: rgb(33, 150, 243);
}
@property --blue-primary {
syntax: '<color>';
inherits: false;
/* Material Blue Primary. From https: //github.com/flutter/flutter/blob/67457e669f79e9f8d13d7a68fe09775fefbb79f4/packages/flutter/lib/src/material/colors.dart#L952 */
initial-value: rgb(33, 150, 243);
}
.evt-section .evt-main {
grid-area: main;
padding: 1rem;
min-width: fit-content;
max-width: 25vw;
border: 1px solid var(--blue-primary);
/* border-radius: 9999px; */
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-top-right-radius: 9999px;
border-bottom-right-radius: 9999px;
background-color: var(--blue-primary);
}
.evt-section .evts {
grid-area: evts;
/* border: 1px solid green; */
height: max-content;
min-height: 75%;
max-height: 100%;
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
overflow-x: auto;
scroll-snap-type: x proximity;
}
.evt-section .evts .evt {
flex-basis: 25vw;
flex-grow: 1;
flex-shrink: 0;
margin-inline: 0.25rem;
scroll-snap-align: center;
}