Improve CSS stylesheet

This commit is contained in:
Jacob 2023-08-07 05:17:14 +02:00
parent c844845544
commit 1c39958d9a

View file

@ -9,7 +9,7 @@
* {
font-family: Monospace;
font-size: 11px;
font-size: 15px;
margin: 0;
padding: 0;
}
@ -24,33 +24,32 @@ form {
}
li {
line-height: 1.5em;
line-height: 24px;
}
h1, h2, h3, h4, h5, h6 {
margin-bottom: 10px;
margin-top: 10px;
}
h1 {
font-size: 2em;
font-weight: bold;
margin-bottom: 1em;
margin-top: 1em;
font-size: 25px;
}
h2 {
font-size: 1.2em;
font-weight: bold;
margin-bottom: 1em;
margin-top: 1em;
font-size: 20px;
}
h3 {
font-size: 1.2em;
font-weight: bold;
margin-bottom: 1em;
margin-top: 1em;
font-size: 18px;
}
h3, h4, h5, h6 {
margin-bottom: 1em;
margin-top: 1em;
h4 {
font-size: 16px;
}
h5 {
font-size: 15px;
}
hr {
@ -62,31 +61,31 @@ hr {
}
ul, ol {
margin-bottom: 1em;
margin-top: 1em;
padding-left: 1em;
margin-bottom: 16px;
margin-top: 16px;
padding-left: 16px;
list-style-position: outside;
}
ul li, ol li {
padding-left: .5em;
padding-left: 8px;
}
li > ul, li > ol
{
margin-top: 0;
li > ul, li > ol {
margin-top: 0px;
margin-bottom: 0px;
}
p {
margin-bottom: 1em;
margin-top: 1em;
margin-bottom: 16px;
margin-top: 16px;
}
pre {
font-family: Monospace;
margin-left: 0;
margin-bottom: 1em;
margin-top: 1em;
margin-bottom: 16px;
margin-top: 16px;
/* stroke each browser so that they wrap lines in the pre tag */
white-space: pre-wrap; /* css-3 */
@ -96,17 +95,17 @@ pre {
word-wrap: break-word; /* Internet Explorer 5.5+ */
border: 1px dotted gray;
padding: .2em .2em .2em .4em;
padding: 3px 3px 3px 6px;
}
code {
font-family: Monospace;
padding: .1em .1em .1em .2em;
padding: .16px .16px .16px .16px;
}
table {
border-collapse: collapse;
padding: .2em;
padding: 3px;
max-width: 99%;
}
@ -115,7 +114,7 @@ th {
}
td, th {
padding: .1em 1em .1em .1em;
padding: .16px 16px .16px .16px;
word-break: break-all;
}
@ -132,7 +131,7 @@ thead td span.sortBy:after {
}
.footer {
padding: .3em .3em .3em 1em;
padding: 5px 5px 5px 16px;
font-family: Monospace;
width: 75%;
}
@ -163,7 +162,7 @@ input#gitmsg
}
.main {
padding: .3em .3em .3em 1em;
padding: 5px 5px 5px 16px;
}
.main a {
@ -193,26 +192,21 @@ input#gitmsg
}
.titlebar span.title {
font-size: 10px;
font-weight: bold;
margin: 5px;
}
.titledate {
font-size: 0.90em;
margin-left: 1em;
margin-right: 1em;
margin-left: 16px;
margin-right: 16px;
}
.toolbar {
position: sticky;
top: 0;
font-size: 2px;
}
.toolbar > a, .titlebar > a {
font-size: 1em;
margin-right: 1em;
text-decoration: none;
font-weight: normal;
}
@ -221,10 +215,6 @@ input#gitmsg
text-decoration: underline;
}
.toolbar img {
transform: translate(0, -15%)
}
.sidebar {
margin-right: 10px;
margin-top: 5px;
@ -234,8 +224,8 @@ input#gitmsg
}
.sidebar h1, h2 {
margin-top: 0em;
margin-bottom: 0em;
margin-top: 0px;
margin-bottom: 0px;
}
.sidebar ul {
@ -244,12 +234,12 @@ input#gitmsg
}
input.search {
width: 5em;
padding: .1em;
width:8px;
padding: .16px;
}
input.search:focus {
width: 15em;
width: 8px;
}
img {
@ -258,7 +248,7 @@ img {
}
img.icon {
width: 1.5em;
width: 24px;
vertical-align: middle;
}