-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathstyle.css
131 lines (111 loc) · 2.47 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
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
/*
Define custom colors:
https://stackoverflow.com/a/17595596/498873
*/
:root {
--gammapy-primary: rgb(224, 10, 52);
--gammapy-secondary: #1e254a;
}
.navbar {
margin-bottom: 0;
}
@media (max-width: 768px) {
.navbar-nav {
text-align: center;
width: 100%; /* Full width for mobile */
}
.navbar-collapse {
background-color: var(--gammapy-secondary); /* For a full-width menu on mobile */
/* display: flex !important; /* Ensure visibility */
flex-direction: column; /* Stack menu items */
display: none; /* Hidden by default */
transition: height 0.3s ease; /* Smooth transition */
}
.navbar-collapse.show {
display: block; /*flex !important; /* Shown when toggled */
}
.bg-dark {
color: white; /* Ensure text is bright on dark background */
}
}
.bg-dark {
background-color: #1e254a !important;
/* TODO: Make navbar text brighter! */
color: white;
}
body {
color: var(--gammapy-secondary);
font-family: 'Fira Sans', sans-serif;
padding-top: 56px; /* Adjust for fixed navbar height */
}
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; */
padding: 0px;
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 */
cursor: pointer;
}
.myfooter {
width:100%;
}
.alignLeft {
width:33%;
float:left;
}
.alignCenter {
float:left;
width:33%;
text-align:center;
}
.alignRight {
float:right;
overflow:visible !important;
}