Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
133 lines (124 loc) · 3.02 KB
/
Copy pathstyles.css
File metadata and controls
133 lines (124 loc) · 3.02 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
/* sme logo purple as Bootstrap's primary colour & link colour */
:root {
--bs-primary: #5d00c5;
--bs-primary-rgb: 93, 0, 197;
--bs-link-color: #5d00c5;
--bs-link-color-rgb: 93, 0, 197;
--bs-link-hover-color: #c126f8;
--bs-link-hover-color-rgb: 193, 38, 248;
--bs-focus-ring-color: rgba(93, 0, 197, 0.25);
}
/* (pre-built Bootstrap CSS hard-codes the primary colour for buttons) */
.btn-outline-primary {
--bs-btn-color: var(--bs-primary);
--bs-btn-border-color: var(--bs-primary);
--bs-btn-hover-bg: var(--bs-primary);
--bs-btn-hover-border-color: var(--bs-primary);
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
--bs-btn-active-bg: var(--bs-primary);
--bs-btn-active-border-color: var(--bs-primary);
--bs-btn-disabled-color: var(--bs-primary);
--bs-btn-disabled-border-color: var(--bs-primary);
}
a {
text-decoration: none;
}
/* inline svg icons from the icon shortcode */
.bi {
width: 1em;
height: 1em;
vertical-align: -0.125em;
}
/* Live logo styles stay scoped to its inline SVG. */
#sme-logo {
display: block;
width: 100%;
height: 100%;
}
#sme-logo canvas {
display: block;
width: 256px;
height: 256px;
}
#sme-logo.simulation-ready #sme-nucleus-base {
fill: #5d00c5;
}
@media (prefers-reduced-motion: reduce) {
#sme-logo #sme-fields {
display: none;
}
#sme-logo.simulation-ready #sme-nucleus-base {
fill: #c126f8;
}
}
/* Bootstrap's mt-n4 utility (not included in pre-built CSS) */
.mt-n4 {
margin-top: -1.5rem !important;
}
/* square icon tile at the top of the index page cards */
.feature {
display: inline-flex;
align-items: center;
justify-content: center;
height: 4rem;
width: 4rem;
font-size: 2rem;
}
.feature a {
color: inherit;
}
.feature a:hover {
opacity: 0.75;
}
/* black links that are purple on hover */
.simplelink a {
color: var(--bs-emphasis-color);
}
.simplelink a:hover {
color: var(--bs-primary);
}
/* download buttons: the main one (for the visitor's platform) on top, the others in a row below */
.downloads {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.5rem;
}
.download .card {
background-color: var(--bs-tertiary-bg);
transition:
background-color 0.15s,
border-color 0.15s;
}
.download:is(:hover, :focus-visible) .card {
background-color: var(--bs-secondary-bg);
border-color: var(--bs-primary);
}
.download-icon {
font-size: 1.5rem;
}
.download-name {
font-size: 0.8rem;
}
.download-main {
grid-column: 1 / -1;
order: -1;
}
.download-main .download-icon {
font-size: 3rem;
}
.download-main .download-name {
font-size: 1.25rem;
}
/* only display carousel controls on mouseover or keyboard focus */
.carousel:not(:hover, :focus-within)
:is(.carousel-indicators, .carousel-control-prev, .carousel-control-next) {
opacity: 0;
}
/* add partially opaque background to carousel control buttons */
.carousel :is(.carousel-control-prev, .carousel-control-next) {
background-color: rgba(0, 0, 0, 0.3);
}
/* changelog section headings in news, e.g. "Added", "Fixed" */
.release-notes h3 {
font-size: 1rem;
}