added preformated styles

This commit is contained in:
Tim Krehan 2018-10-24 18:15:42 +02:00
parent 0f06297cf1
commit 1adf16386b

View file

@ -1,19 +1,98 @@
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,800'); @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,800');
html { html {
transition: .6s; transition: .6s;
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
background-color: #c3c3c3; background-color: #c3c3c3;
} }
h1 { h1 {
font-size: 3em; font-size: 3em;
text-align: center; text-align: center;
color: #333;
text-transform: uppercase;
} }
h2 {
color: #333;
text-transform: uppercase;
}
h3 {
color: #444;
text-transform: capitalize;
}
h4 {
color: #444;
text-transform: capitalize;
}
h5 {
color: #555;
text-transform: lowercase;
font-weight: normal;
}
h6 {
color: #555;
text-transform: lowercase;
font-weight: normal;
}
table {
border-collapse: collapse;
border: 1px solid black;
margin: 1em 0;
}
th {
background-color: #63bf3c;
color: white;
}
td, th {
/* border: 1px solid black; */
padding: .2em .5em;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
button {
display: block;
border: 1px solid #777777;
padding: .5em 1em;
margin: 1em .25em;
}
pre {
max-height: calc(50vh - 9em);
background: #f4f4f4;
border: 1px solid #ddd;
border-left: 3px solid #a0c391;
color: #666;
page-break-inside: avoid;
font-family: monospace;
font-size: 15px;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}
.even { .even {
background-color: #000; background-color: #000;
} }
.odd { .odd {
background-color: #5f5f5f; background-color: #5f5f5f;
} }
.search { .search {
background-image: url('/pic/search.png'); background-image: url('/pic/search.png');
background-position: 10px 12px; background-position: 10px 12px;
@ -22,6 +101,7 @@ h1 {
padding: 12px 20px 12px 40px; padding: 12px 20px 12px 40px;
border: 1px solid #ddd; border: 1px solid #ddd;
} }
.button { .button {
-webkit-appearance: none; -webkit-appearance: none;
border: none; border: none;
@ -33,7 +113,8 @@ h1 {
background-color: #4CAF50; background-color: #4CAF50;
color: white; color: white;
} }
.hover:hover { .hover:hover {
background-color: #4CAF50; background-color: #4CAF50;
cursor: pointer; cursor: pointer;
} }