pastebin/static/style.css
2019-11-27 19:16:03 +01:00

90 lines
1.4 KiB
CSS

body {
margin: 0;
line-height: 1.6;
color: black;
text-align: justify;
hyphens: auto;
font-family: sans-serif;
overflow-wrap: break-word;
}
#header {
background: #dd6;
color: white;
box-shadow: 0 -5px 2px rgba(0, 0, 0, 0.1) inset;
}
#header div {
margin: 0 auto;
padding: 0 1em;
max-width: 900px;
display: flex;
align-items: center;
justify-content: space-between;
}
#header h1 {
margin: 0;
color: #440;
display: inline-block;
}
#header small {
opacity: 0.7;
}
#header nav {
float: right;
}
#header li {
display: inline;
border-left: 1px solid #440;
padding: 0 0.5em;
}
#header li:first-child {
border: none;
}
#article {
margin: 0 auto;
padding: 0 1em;
max-width: 980px;
}
h1, h2, h3, h4, h5, h6 {
line-height: 1.2;
}
textarea {
width: 100%;
height: 372px;
resize: vertical;
}
[name=stdin] {
height: 124px;
}
#right-buttons {
float: right;
}
table {
overflow: auto;
border-collapse: collapse;
display: block;
}
td, th {
border: 1px solid #dfe2e5;
padding: 6px 13px;
}
tr:nth-child(2n) {
background: #f6f8fa;
}
pre {
padding: 16px;
overflow: auto;
}
pre, code {
background: #f5f2f0;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}
img {
max-width: 100%;
}
.stdout-header h2, .stdout-header label {
display: inline-block;
}
.stdout-header label {
padding-left: 1em;
}