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
|
/* Define the gammapy colors */
:root {
--gammapy-primary: rgb(224, 10, 52);
--gammapy-secondary: #1e254a;
--gammapy-lightgray: #f2f2f2;
}
/* Set theme of the download button */
.sphx-glr-download a {
background-color: #d9edf7 !important;
border: 1px solid #bce8f1 !important;
background-image: none !important;
}
.sphx-glr-download a:hover {
background-color: #d9edf7 !important;
}
/* Typography */
body,
p {
color: var(--gammapy-secondary);
font-family: "Fira Sans", sans-serif;
font-size: 15px;
line-height: 20px;
font-weight: 400;
--sd-color-secondary: var(--gammapy-secondary);
--sd-color-secondary-highlight: #666;
--pst-color-secondary: var(--gammapy-secondary);
}
/* Dark Theme */
[data-theme="dark"] {
--gammapy-secondary: #ffffff;
--sd-color-secondary: var(--gammapy-secondary);
--sd-color-secondary-highlight: var(--gammapy-lightgray);
--pst-color-secondary: var(--gammapy-secondary);
color: var(--gammapy-lightgray);
}
[data-theme="dark"] body,
[data-theme="dark"] p {
color: var(--gammapy-secondary);
}
[data-theme="dark"] .logo img {
display: none;
}
[data-theme="dark"] .logo {
background-image: url("gammapy_logo_nav.png");
background-size: contain;
background-repeat: no-repeat;
width: 200px;
height: 50px;
}
|