-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathindex.css
75 lines (63 loc) · 1.47 KB
/
index.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
/* custom CSS only for the home page */
/* all other CSS is shared with docs and in the quarto-config submodule */
.content-block {
padding-top: 20px;
padding-bottom: 10px;
margin-left: 30px;
margin-right: 30px;
}
@media (min-width: 900px) {
.content-block {
margin-left: 50px;
margin-right: 50px;
}
}
@media (min-width: 1200px) {
.content-block {
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}
}
.hero-banner {
position: relative;
display: flex;
justify-content: center;
color: var(--stan-hero);
background-color: var(--stan-hero-bg);
border: 10px solid var(--stan-secondary);
}
.hero-banner h1 {
font-size: 2.5rem;
margin-top: 1rem;
text-align: center;
}
.hero-banner .content-block {
padding-top: 0;
}
.hero-code {
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 1rem;
padding-top: 1rem;
}
.hero-code .sourceCode {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.hero-code pre,
.hero-code code {
color: var(--bs-body-color);
padding: 0.25em;
}
.hero-code .code-with-filename-file {
border: 1px solid rgba(233, 236, 239, 0.2);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
background-color: var(--stan-secondary);
}
.hero-code .code-with-filename-file pre {
background-color: inherit;
color: var(--stan-hero);
}