grawkit/play/static/css/main.css

123 lines
1.9 KiB
CSS

html, body {
min-height: 100%;
}
html {
height: 100%;
}
body {
background: #fff repeat center fixed;
color: #333;
font-family: Nunito, Helvetica, sans-serif;
font-size: 1.6rem;
}
h1 {font-size: 3.6rem; line-height: 1.2; letter-spacing: 0;}
h2 {font-size: 2.6rem; line-height: 1.25; letter-spacing: 0;}
h3 {font-size: 2.2rem; line-height: 1.3; letter-spacing: 0;}
h4 {font-size: 1.8rem; line-height: 1.35; letter-spacing: 0;}
h5 {font-size: 1.4rem; line-height: 1.5; letter-spacing: 0;}
h6 {font-size: 1.2rem; line-height: 1.6; letter-spacing: 0;}
p {
margin-bottom: 1.5rem;
}
ul, ol {
list-style: disc outside;
padding-left: 2rem;
}
code {
background-color: #f8f8f8;
border-color: #f1f1f1;
border-radius: 0;
font-size: 100%;
}
a {
color: #c31;
transition: background .2s ease, border .2s ease, box-shadow .2s ease, color .2s ease, top .2s ease;
}
a:hover, a:active {
color: #111;
}
.button {
background: #fff;
border: 0.2rem solid #333;
border-radius: 0;
box-shadow: 0 0.2rem #333;
color: #333;
font-size: 1.35rem;
font-weight: 600;
font-variant: small-caps;
padding: 0 0.5rem 0.25rem;
position: relative;
text-transform: none;
top: 0;
}
.button:hover, .button:focus {
background: #fff;
border-color: #c31;
box-shadow: 0 0 #c31;
color: #333;
top: 0.2rem;
}
.preview-header {
padding: 1rem 0;
}
.preview-header a {
color: #333;
text-decoration: none;
}
.preview-header .title {
display: inline-block;
font-weight: bold;
line-height: 1.2;
padding-bottom: 1rem;
margin-right: 1rem;
}
.preview-header .logo {
max-height: 3.5rem;
}
.preview-header .button {
margin-right: 1rem;
}
.editor {
background: #f8f8f8;
border: none;
font-family: monospace;
height: 65rem;
overflow: auto;
resize: none;
white-space: pre-wrap;
width: 100%;
}
.editor:focus {
border: none;
}
.preview-generated {
height: 65rem;
width: 100%;
}
.preview-generated svg {
max-height: 100%;
}
.error {
color: #cc0000;
padding: 0 1rem;
}