1
Fork 0
hare-playground/frontend/style.css
2024-06-01 16:46:01 +02:00

86 lines
1.7 KiB
CSS

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
margin-top: 0;
}
h1 {
display: inline-block;
vertical-align: sub;
margin: 0 20px 10px 0;
}
pre {
background-color: transparent;
border: none;
}
body > footer {
font-family: sans-serif;
max-width: unset;
width: 100%;
color: grey;
font-weight: 200;
margin: 0 0 40px;
}
a, a:visited {
border-bottom: 1px solid rgba(0, 139, 245, 0.2);
color: #008bf5;
}
codapi-snippet {
display: block;
margin: 10px 0;
}
codapi-snippet button {
padding: 0;
border: none;
background: none;
line-height: 1.35;
color: #008bf5;
font-size: 16px;
cursor: pointer;
}
codapi-toolbar button::after {
content: " ▶";
}
codapi-toolbar a,
codapi-toolbar a:visited {
color: #008bf5;
border-bottom: 1px solid rgba(0, 139, 245, 0.2);
text-decoration: none;
font-size: 16px;
}
.editor {
border-radius: 6px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
font-family: 'Source Code Pro', monospace;
font-size: 14px;
font-weight: 400;
min-height: 340px;
max-height: 500px;
letter-spacing: normal;
line-height: 20px;
padding: 10px;
resize: none !important;
tab-size: 8;
}
codapi-output {
border-radius: 6px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
font-family: 'Source Code Pro', monospace;
font-size: 14px;
font-weight: 400;
letter-spacing: normal;
line-height: 20px;
padding: 10px;
resize: none !important;
tab-size: 4;
}
codapi-output pre {
margin: 0;
}