108 lines
1.4 KiB
CSS
108 lines
1.4 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
margin: 0;
|
|
background-color: #F9F9F9;
|
|
}
|
|
|
|
a {
|
|
color: #004D40;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:focus {
|
|
outline: 2px dotted #004D40;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
background-color: #004D40;
|
|
color: white;
|
|
padding: 2rem 1rem;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 48px;
|
|
}
|
|
|
|
header p {
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
#address-wrapper {
|
|
position: relative;
|
|
max-width: 800px;
|
|
margin: auto;
|
|
}
|
|
|
|
#address {
|
|
border: 0;
|
|
border-radius: 0;
|
|
outline: none;
|
|
padding: 1rem 1.5rem;
|
|
font-size: 16px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
opacity: 0.8;
|
|
transition: opacity 200ms ease-in-out;
|
|
}
|
|
|
|
#address:hover, #address:focus {
|
|
opacity: 1;
|
|
}
|
|
|
|
.result {
|
|
padding: 1rem 2rem;
|
|
display: none;
|
|
}
|
|
|
|
.result > .header > svg {
|
|
height: 4rem;
|
|
}
|
|
|
|
.result > .header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
font-weight: bold;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
#error {
|
|
background-color: #FFCDD2;
|
|
color: #B71C1C;
|
|
}
|
|
|
|
#not-registered {
|
|
background-color: #FFF9C4;
|
|
color: #F57F17;
|
|
}
|
|
|
|
#not-registered a {
|
|
color: #F57F17;
|
|
}
|
|
|
|
#has-registered {
|
|
background-color: #C8E6C9;
|
|
color: #1B5E20;
|
|
}
|
|
|
|
article {
|
|
max-width: 800px;
|
|
margin: 2rem auto;
|
|
padding: 0 2rem;
|
|
color: #616161;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
article h2 {
|
|
margin-top: 2.5rem;
|
|
color: #424242;
|
|
} |