89 行
986 B
CSS
89 行
986 B
CSS
|
body {
|
||
|
background-color: white;
|
||
|
color: black;
|
||
|
font: 1rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Open Sans', 'Helvetica Neue', sans-serif;
|
||
|
max-width: 30rem;
|
||
|
padding: 0 1rem;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: #00c;
|
||
|
}
|
||
|
|
||
|
a:hover {
|
||
|
background-color: #00c;
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
a:focus {
|
||
|
outline: thin solid;
|
||
|
}
|
||
|
|
||
|
header,
|
||
|
nav,
|
||
|
footer {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
nav ul {
|
||
|
list-style: none;
|
||
|
padding-left: 0;
|
||
|
}
|
||
|
|
||
|
nav li {
|
||
|
display: inline-block;
|
||
|
margin: 0 .5rem;
|
||
|
}
|
||
|
|
||
|
section,
|
||
|
fieldset {
|
||
|
background-color: #eee;
|
||
|
padding: 1rem;
|
||
|
border: 1px solid black;
|
||
|
}
|
||
|
|
||
|
section.success {
|
||
|
background-color: #cfc;
|
||
|
}
|
||
|
|
||
|
section.error {
|
||
|
background-color: #fcc;
|
||
|
}
|
||
|
|
||
|
section h2:first-child {
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
form div {
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
|
||
|
form p,
|
||
|
label span {
|
||
|
color: #444;
|
||
|
font-size: .8rem;
|
||
|
}
|
||
|
|
||
|
form p {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
legend,
|
||
|
label {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
label {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
button,
|
||
|
input {
|
||
|
font-size: 1rem;
|
||
|
}
|
||
|
|
||
|
input#twt {
|
||
|
width: 100%;
|
||
|
}
|