forked from gammapy/gammapy-webpage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
86 lines (73 loc) · 1.51 KB
/
style.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
/*
Define custom colors:
https://stackoverflow.com/a/17595596/498873
*/
:root {
--gammapy-primary: rgb(224, 10, 52);
--gammapy-secondary: #1e254a;
}
.navbar {
margin-bottom: 0;
}
.bg-dark {
background-color: #1e254a !important;
/* TODO: Make navbar text brighter! */
color: white;
}
body {
color: var(--gammapy-secondary);
font-family: 'Fira Sans', sans-serif;
}
main {
padding-top: 7rem;
margin-bottom: 0;
}
a {
color: var(--gammapy-primary);
}
footer {
padding-top: 1.5rem;
padding-bottom: 1rem;
}
.opener {
/*padding-top: 7rem;*/
padding-bottom: 3rem;
}
#gp-banner {
padding-bottom: 3rem;
width: 500px;
max-width: 100%;
}
/*
https://css-tricks.com/quick-css-trick-how-to-center-an-object-exactly-in-the-center/
*/
.centered {
position: fixed;
top: 50%;
left: 50%;
/* bring your own prefixes */
transform: translate(-50%, -50%);
}
.btn-outline-primary {
background-color: white;
border-color: var(--gammapy-primary);
color: var(--gammapy-primary);
}
.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
background-color: var(--gammapy-primary);
border-color: var(--gammapy-primary);
color: white;
}
.button-fancy {
background-color: #23b83c;
color: whitesmoke;
padding: 0.5em 1.1em;
text-align: center;
text-decoration: none;
font-size: 1em;
display: inline-block;
border-radius: 5px;
box-shadow: 3px 3px 8px 0 #000; /* h-offset v-offset blur spread color */
}