pastebin/static/style-v2.css

156 lines
2.1 KiB
CSS
Raw Normal View History

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