You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
1.2 KiB
CSS
100 lines
1.2 KiB
CSS
3 years ago
|
* {
|
||
|
box-sizing: border-box;
|
||
|
max-width: 60ch;
|
||
|
}
|
||
|
|
||
|
html, body {
|
||
|
font-family: sans-serif;
|
||
|
font-size: 24px;
|
||
|
line-height: 1.5;
|
||
|
color: #3D9970;
|
||
|
max-width: 100%;
|
||
|
|
||
|
margin: 12px;
|
||
|
}
|
||
|
|
||
|
|
||
|
h1 {
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
h2, h3 {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
form {
|
||
|
width: 40ch;
|
||
|
display: inline-block;
|
||
|
margin: 64px 0;
|
||
|
padding: 16px;
|
||
|
border: 1px dashed currentColor;
|
||
|
}
|
||
|
|
||
|
form > * + * {
|
||
|
margin-top: 16px;
|
||
|
}
|
||
|
|
||
|
input, textarea {
|
||
|
display: block;
|
||
|
border: 1px solid currentColor;
|
||
|
color: currentColor;
|
||
|
padding: 8px;
|
||
|
background: none;
|
||
|
}
|
||
|
|
||
|
input[type="submit"]{
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
|
||
|
input[type="submit"]:hover{
|
||
|
color: white;
|
||
|
background-color: #3D9970;
|
||
|
}
|
||
|
|
||
|
textarea {
|
||
|
width: 100%;
|
||
|
min-height: 10em;
|
||
|
max-width: 100%;
|
||
|
}
|
||
|
|
||
|
dl {
|
||
|
max-width: 100%;
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
|
||
|
dl > * {
|
||
|
flex-grow: 0;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
dt {
|
||
|
flex-basis: 30%;
|
||
|
}
|
||
|
|
||
|
dd {
|
||
|
flex-basis: 70%;
|
||
|
margin-bottom: 32px;
|
||
|
}
|
||
|
|
||
|
@media (max-width: 991.98px) {
|
||
|
|
||
|
|
||
|
html, body {
|
||
|
margin: 6px;
|
||
|
}
|
||
|
|
||
|
|
||
|
dl {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
dt {
|
||
|
margin: 6px 0;
|
||
|
font-style: italic;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|