generated from Seekra/repository-template
This change was necessary due to the dynamically loaded legal notice. Links would have the default color without this fix.
95 lines
2.1 KiB
CSS
95 lines
2.1 KiB
CSS
/*
|
|
Copyright 2026 Seekra
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
body {
|
|
background-color: var(--light-bg);
|
|
color: var(--dark);
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
.link {
|
|
text-decoration: none;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.link:hover:not(.button-link), .link:focus-visible:not(.button-link) {
|
|
outline: none;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.button-link {
|
|
color: var(--dark);
|
|
}
|
|
|
|
.button-link:hover {
|
|
color: var(--dark);
|
|
}
|
|
|
|
.button-link:visited {
|
|
color: var(--dark);
|
|
}
|
|
|
|
input {
|
|
color: var(--dark);
|
|
}
|
|
|
|
.input {
|
|
padding: var(--input-padding);
|
|
display: block;
|
|
border-radius: calc(var(--input-padding) + 0.5 * var(--input-height) + 1px);
|
|
height: var(--input-height);
|
|
border: 1px solid var(--border);
|
|
background: none;
|
|
transition: border-color 0.2s ease;
|
|
color: inherit;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
.input:focus-visible {
|
|
border-color: var(--primary-color);
|
|
outline: none;
|
|
}
|
|
|
|
.main-content-padding {
|
|
padding: var(--main-content-padding);
|
|
width: calc(100% - var(--main-content-padding-x) * 2);
|
|
}
|
|
|
|
.button {
|
|
background-color: var(--light-bg);
|
|
border: none;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
.button:focus-visible {
|
|
background-color: var(--light-hover);
|
|
outline: none;
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: var(--light-hover);
|
|
}
|
|
|
|
/* Temporary until a custom tap highlight is implemented. */
|
|
* {
|
|
-webkit-tap-highlight-color: transparent;
|
|
} |