Get style.css over https

This commit is contained in:
Benjamin 2024-09-05 12:49:39 +02:00
parent d97bcdfc8d
commit 5a7650ee8a
2 changed files with 1 additions and 91 deletions

View file

@ -21,7 +21,7 @@ https://benjamin.stadlbauer.wien/git/Benjamin/bikelist
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/styles.css">
<link rel="stylesheet" href="https://benjamin.stadlbauer.wien/style.css" integrity="sha512-P4CTyX+JMNxx7FX5s7grf0sjDx0r4MbKbCsEcCdRWXvyGqA4qBwgjs4K/wF8+mCzEYPVSe+36+AYsmD4anN7BA==" crossorigin="anonymous">
<title>Bikelist</title>
</head>

View file

@ -1,90 +0,0 @@
/*
Bikelist - shows a simple checklist preparing for a bike ride.
Copyright © Benjamin Stadlbauer
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
A copy of the license is available at the root of the Git repository
https://benjamin.stadlbauer.wien/git/Benjamin/bikelist
*/
:root {
--white-neutral: #f4f4f9;
--white-hover: #ececff;
--black-neutral: #1a1a1c;
--black-hover: #282833;
--accent: #7a7a99;
--primary: var(--black-neutral);
--background: var(--white-neutral);
--hover-background: var(--white-hover);
}
body {
color: var(--primary);
background-color: var(--background);
padding: 3ch;
max-width: 80ch;
margin: 0 auto;
font-family: system-ui;
line-height: 1.6;
}
ul {
list-style-type: "-";
padding-left: 1.5em;
}
li {
padding-left: 0.25em;
}
h3 {
line-height: 1.4;
font-weight: normal;
font-size: 1.2rem;
margin: 1.2rem 0;
}
a {
color: inherit;
}
h2 {
line-height: 1.2;
font-size: 1.44rem;
font-weight: normal;
margin: 1.44rem 0;
}
h1 {
line-height: 1.0;
font-weight: normal;
font-size: 1.73rem;
margin: 1.73rem 0;
}
@media (prefers-color-scheme: light) {
:root {
--primary: var(--black-neutral);
--background: var(--white-neutral);
--hover-background: var(--white-hover);
}
}
@media (prefers-color-scheme: dark) {
:root {
--primary: var(--white-neutral);
--background: var(--black-neutral);
--hover-background: var(--black-hover);
}
}