-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
164 lines (141 loc) · 3.66 KB
/
styles.css
File metadata and controls
164 lines (141 loc) · 3.66 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/*Main CSS file/
/* enable scroll snapping on the body, and fonts */
body {
font-family: 'Open Sans', sans-serif; /* polished font */
line-height: 1.6; /* comfortable line spacing */
scroll-snap-type: y mandatory; /* snap only in vertical direction, mandatory */
overflow-y: scroll; /* ensure vertical scrolling is enabled */
}
/* light theme */
body.quarto-light {
background:
linear-gradient(-90deg, rgba(0, 0, 0, .04) 1px, transparent 1px),
linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
#f2f2f2;
background-size:
4px 4px,
4px 4px,
80px 80px,
80px 80px,
80px 80px,
80px 80px,
80px 80px,
80px 80px;
color: #0f0700;
}
/* dark theme */
body.quarto-dark {
background:
linear-gradient(-90deg, rgba(63, 63, 63, 0.5) 1px, transparent 1px), /* red lines */
linear-gradient(rgba(63, 63, 63, 0.5) 1px, transparent 1px), /* yellow lines */
#000000; /* black background */
background-size:
4px 4px,
4px 4px,
80px 80px,
80px 80px,
80px 80px,
80px 80px,
80px 80px,
80px 80px;
color: aliceblue
}
p {
font-family: 'Open Sans', sans-serif !important;
}
/* make the hero section take full height */
.hero-grid {
display: grid;
grid-template-columns: 1fr 1fr;
width: 100%;
height: 100vh; /* take up 100% of the viewport height */
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-snap-align: start; /* snap to the top of the section */
}
.hero-grid .col-6 {
display: flex;
flex-direction: column;
justify-content: center;
align-items:center;
text-align: center;
padding-left: 30px;
}
#hero-image {
align-self: flex-start; /* aligns the text to the top */
margin-top: -60px; /* js and css solutions make this need to change */
width: 100%;
height: 100%;
}
#cycle-image {
opacity: 1;
transition: opacity 0.5s ease-in-out; /* 0.5s fade transition */
}
#hero-textcell {
width: 100%;
height: 100%;
margin-top: 0px; /* move it up a bit more from the top if needed */
}
/* After being hovered or visited, the link stays visible and bold */
#hero-text p a.visited-link {
color: inherit; /* keep the link visible */
background-color: transparent; /* no more black bar */
font-weight: bold; /* make the text bold */
}
#hero-icons{
display: flex;
flex-direction: row;
justify-content: center;
align-items:center;
}
#hero-icons {
margin: 0 10px; /* not doing anythign at the moment link seems to destroy this apply a little space between each icon */
}
/* style for the section that follows the hero grid */
.content-section {
height: 100vh; /* ensure each section takes full viewport height */
scroll-snap-align: start; /* snap to the top of the section */
}
/* navbar text size */
.navbar .navbar-nav > li > a,
.navbar-brand {
font-size: 1.25rem; /* slightly larger font size */
}
body.quarto-dark table.dataTable,
body.quarto-dark .dataTables_wrapper {
color: white;
}
body.quarto-dark table.dataTable thead th,
body.quarto-dark table.dataTable tbody td {
color: white;
}
body.quarto-dark .dataTables_filter input,
body.quarto-dark .dataTables_length select,
body.quarto-dark .paginate_button {
color: white;
background-color: #222;
border: 1px solid #444;
}
body.quarto-dark .dataTables_wrapper .dataTables_info {
color: white;
}
body.quarto-dark .paginate_button.current {
background-color: #444 !important;
color: white !important;
}
p:has(img[src*="shields.io"]) {
display: flex;
justify-content: flex-start;
align-items: center;
margin: 0;
}
/*img[src*="shields.io"] {
/* display: block;
/* margin-left: 0;
/* } */
@media (min-width: 769px) {
#hero-textcell {
margin-top: -100px; /* preserve original look on desktop */
}
}