style.css: fix bugs
- tr background not suitable on dark theme - added license - indent code and quotes
This commit is contained in:
parent
26a1e02a2a
commit
a4b0ecec9c
@ -1,3 +1,32 @@
|
|||||||
|
/*
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2023 Bradley Taunt
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
I stole a decent amount of code from the stylesheet of https://barf.bt.ht/
|
||||||
|
so here's the license
|
||||||
|
*/
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: JetBrainsMono, sans-serif;
|
font-family: JetBrainsMono, sans-serif;
|
||||||
width: 85vmin;
|
width: 85vmin;
|
||||||
@ -55,9 +84,6 @@ main p {
|
|||||||
h1,h2,h3,h4 {
|
h1,h2,h3,h4 {
|
||||||
margin: 2rem 0 0;
|
margin: 2rem 0 0;
|
||||||
}
|
}
|
||||||
p {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
h2 {
|
h2 {
|
||||||
margin-left: 0.25rem;
|
margin-left: 0.25rem;
|
||||||
}
|
}
|
||||||
@ -127,7 +153,7 @@ tr {
|
|||||||
border-bottom: 1px solid lightgrey;
|
border-bottom: 1px solid lightgrey;
|
||||||
}
|
}
|
||||||
tr:nth-of-type(odd) td {
|
tr:nth-of-type(odd) td {
|
||||||
background-color: #f8f8f8;
|
background-color: #151515;
|
||||||
}
|
}
|
||||||
th,td {
|
th,td {
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
@ -137,9 +163,10 @@ footer {
|
|||||||
margin: 2rem 0;
|
margin: 2rem 0;
|
||||||
padding: 1rem 15px;
|
padding: 1rem 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: inline;
|
display: inline;
|
||||||
color: #aaaaaa;
|
color: #aaaaaa;
|
||||||
}
|
}
|
||||||
|
p, pre, table, blockquote {
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user