1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-08 10:45:04 +02:00
imgproxy/docs/assets/style.css

153 lines
2.7 KiB
CSS
Raw Normal View History

2019-09-18 14:04:01 +02:00
:root {
2022-02-16 15:39:18 +02:00
--base-color: rgb(255, 255, 255);
2019-09-18 14:04:01 +02:00
--mono-hue: var(--theme-hue);
--mono-saturation: 10%;
--mono-shade4: hsl(var(--mono-hue), var(--mono-saturation), 10%);
--theme-hue : 208;
--theme-saturation: 80.3%;
--theme-lightness : 45.9%;
--base-background-color: rgb(13, 15, 21);
--base-background-color-trans: rgba(13, 15, 21, 0);
--base-font-family: "Roboto",sans-serif;
2019-09-19 17:05:21 +02:00
--code-font-family: "Fira Mono",monospace;
2019-09-18 14:04:01 +02:00
--code-inline-background: var(--mono-tint1);
2019-09-23 09:35:56 +02:00
--heading-h1-font-weight: 600;
--heading-h2-font-weight: 600;
2019-09-18 14:04:01 +02:00
--link-color: var(--theme-color);
--sidebar-background: var(--mono-shade4);
--sidebar-border-color: hsla(0,0%,100%,.4);
--copycode-background: var(--link-color);
2020-09-01 15:57:44 +02:00
--table-row-even-background: var(--base-background-color);
2022-02-16 15:39:18 +02:00
--selection-color: rgba(255, 255, 255, 0.3);
2019-09-18 14:04:01 +02:00
}
2019-12-17 11:05:41 +02:00
.app-name-link img {
width: 90%
}
body::before {
content: "";
position: fixed;
width: 100%;
height: 500px;
2019-09-18 14:04:01 +02:00
background: linear-gradient(
180deg,
var(--base-background-color-trans),
var(--base-background-color) 500px
), url('/assets/pattern.svg');
}
2019-09-19 17:05:21 +02:00
@media (min-width: 1200px) {
2019-09-19 17:37:31 +02:00
.content {
font-size: 111%;
2019-09-19 17:05:21 +02:00
}
}
@media (min-width: 1400px) {
:root {
2019-09-19 17:37:31 +02:00
--base-font-size: 18px;
2019-09-19 17:05:21 +02:00
}
}
2019-09-18 14:04:01 +02:00
.loading {
margin: 150px auto 0;
position: relative;
text-align: center;
}
.loading__spinner {
--spinner-size: 50px;
box-sizing: border-box;
width: var(--spinner-size);
height: var(--spinner-size);
margin: 0 auto;
border: 1px solid rgba(255, 255, 255, 0.7);
border-right-color: transparent;
border-radius: 50%;
animation: spinner 1s linear infinite;
}
@keyframes spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
2022-06-29 16:03:19 +02:00
.sidebar-nav li>a:only-child {
padding: var(--sidebar-nav-pagelink-padding, var(--sidebar-nav-link-padding));
}
.sidebar-nav li > a > img {
height: 1em;
}
2019-10-11 15:20:28 +02:00
2022-06-29 16:03:19 +02:00
.badge img {
height: 1em;
2019-10-11 15:20:28 +02:00
vertical-align: middle;
2022-06-29 16:03:19 +02:00
margin-top: -0.25em;
2019-10-11 15:20:28 +02:00
}
2019-10-15 14:08:32 +02:00
2022-06-29 16:03:19 +02:00
.badge img:hover {
filter: brightness(1.5);
2021-10-01 12:26:12 +02:00
}
2022-06-29 16:03:19 +02:00
h1 .badge img, h3 .badge img, h3 .badge img, h4 .badge img, h5 .badge img {
height: 0.8em;
margin-top: -0.20em;
margin-left: .1em;
2020-09-01 16:15:24 +02:00
}
2019-10-15 14:08:32 +02:00
.github-edit-btn {
display: block;
position: fixed;
bottom: 0;
right: 10px;
border-radius: 10px 10px 0 0;
background-color: var(--link-color);
color: var(--base-color) !important;
text-decoration: none !important;
font-size: .8em;
padding: 0.2em 1em;
opacity: 0.75;
z-index: 999;
}
.github-edit-btn:hover {
opacity: 1;
}
@media (max-width: 768px) {
.github-edit-btn {
display: none;
}
}
.github-corner {
position: fixed;
}
.gitter img {
display: block;
margin: 5px auto 0;
}
2022-07-04 11:59:34 +02:00
.sidebar-version-select {
width: 100%;
margin: var(--sidebar-nav-margin);
}