pastebin/static/style-v2.css

140 lines
2.2 KiB
CSS
Raw Normal View History

2019-12-21 16:47:25 +00:00
* {
box-sizing: border-box;
}
2019-03-02 16:35:05 +00:00
body {
margin: 0;
2019-12-21 16:47:25 +00:00
height: 100vh;
display: flex;
flex-direction: column;
2019-03-02 16:35:05 +00:00
line-height: 1.6;
color: black;
text-align: justify;
hyphens: auto;
font-family: sans-serif;
overflow-wrap: break-word;
2019-03-02 16:35:05 +00:00
}
#header {
2019-03-02 16:35:05 +00:00
background: #dd6;
color: white;
box-shadow: 0 -5px 2px rgba(0, 0, 0, 0.1) inset;
}
#header div {
2019-03-02 16:35:05 +00:00
padding: 0 1em;
2019-03-15 07:49:06 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2019-03-02 16:35:05 +00:00
}
#header h1 {
2019-03-15 07:49:06 +00:00
margin: 0;
2019-03-15 07:39:49 +00:00
color: #440;
display: inline-block;
}
#header small {
2019-03-02 16:35:05 +00:00
opacity: 0.7;
}
#header nav {
2019-03-15 07:39:49 +00:00
float: right;
}
#header li {
2019-03-15 07:39:49 +00:00
display: inline;
2019-11-27 18:16:03 +00:00
border-left: 1px solid #440;
padding: 0 0.5em;
}
#header li:first-child {
border: none;
2019-03-15 07:39:49 +00:00
}
#article {
2019-12-21 16:47:25 +00:00
display: flex;
flex: 1;
flex-direction: column;
padding: 0 1em 1em;
position: relative;
}
form {
display: flex;
flex: 1;
flex-direction: column;
2019-03-02 16:35:05 +00:00
}
2019-03-07 08:58:56 +00:00
h1, h2, h3, h4, h5, h6 {
2019-03-02 16:35:05 +00:00
line-height: 1.2;
}
2019-12-21 16:47:25 +00:00
#toolbar {
padding: 6px 0;
}
#split {
display: flex;
flex: 1;
position: relative;
}
#extrafieldsplit {
display: flex;
flex: 1;
flex-direction: column;
}
#textarea {
flex: 1;
position: relative;
}
2019-03-02 16:35:05 +00:00
textarea {
width: 100%;
2019-12-21 16:47:25 +00:00
height: 100%;
resize: none;
2019-03-02 16:35:05 +00:00
}
2019-11-23 20:17:26 +00:00
[name=stdin] {
height: 124px;
}
2019-11-23 17:39:10 +00:00
#right-buttons {
float: right;
2019-08-10 14:36:05 +00:00
}
2019-12-21 16:47:25 +00:00
#outputcontainer {
flex: 1;
position: relative;
}
#output {
padding: 0 1em;
position: absolute;
width: 100%;
height: 100%;
overflow: auto;
}
@media (max-width: 1200px) {
#split {
flex-direction: column;
flex: auto;
}
#output {
padding: 0;
max-height: 40vh;
max-width: unset;
}
}
2019-03-07 08:58:56 +00:00
table {
overflow: auto;
border-collapse: collapse;
2019-03-07 14:25:29 +00:00
display: block;
2019-03-07 08:58:56 +00:00
}
td, th {
border: 1px solid #dfe2e5;
padding: 6px 13px;
}
tr:nth-child(2n) {
background: #f6f8fa;
}
pre {
padding: 16px;
overflow: auto;
2019-03-07 08:58:56 +00:00
}
pre, code {
2019-11-04 15:06:11 +00:00
background: #f5f2f0;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
2019-03-07 08:58:56 +00:00
}
img {
max-width: 100%;
2019-03-15 07:39:49 +00:00
}
2019-08-14 11:01:16 +00:00
.stdout-header h2, .stdout-header label {
display: inline-block;
}
.stdout-header label {
padding-left: 1em;
}