keyoxide-web/assets/styles.css

187 lines
3 KiB
CSS
Raw Normal View History

2020-06-25 10:01:06 -06:00
* {
box-sizing: border-box;
}
body {
margin: 0;
2020-06-25 10:01:06 -06:00
color: #333;
font-family: sans-serif;
background-color: #eee;
2020-06-25 10:01:06 -06:00
}
header {
padding: 16px;
margin: 0 0 48px;
font-size: 1.1em;
background-color: #fff;
}
2020-06-25 12:24:04 -06:00
header .container {
display: flex;
}
2020-06-26 02:51:01 -06:00
nav a {
2020-06-25 12:24:04 -06:00
margin-left: 12px;
}
2020-06-25 10:01:06 -06:00
footer {
color: #777;
margin: 64px 0;
2020-06-26 16:50:21 -06:00
padding: 0 32px;
2020-06-25 10:01:06 -06:00
}
.container {
max-width: 720px;
2020-06-25 10:01:06 -06:00
width: 100%;
margin: 0 auto;
}
.content {
padding: 16px 32px 32px;
background-color: #fff;
}
2020-06-25 12:24:04 -06:00
.spacer {
flex: 1;
}
2020-06-25 12:28:32 -06:00
.bigBtn {
2020-06-25 12:31:57 -06:00
display: inline-block;
2020-06-25 14:49:08 -06:00
margin-bottom: 12px;
2020-06-25 15:31:20 -06:00
padding: 8px 16px;
color: #fff;
2020-06-25 12:28:32 -06:00
font-size: 1.2em;
text-transform: uppercase;
text-decoration: none;
2020-06-26 01:48:18 -06:00
background-color: #3f9acc;
2020-06-25 15:31:20 -06:00
border: 0;
border-radius: 8px;
2020-06-25 12:28:32 -06:00
cursor: pointer;
}
.bigBtn:hover {
2020-06-25 15:31:20 -06:00
color: #fff;
background-color: #72bde6;
2020-06-25 12:28:32 -06:00
}
2020-06-25 10:01:06 -06:00
h1 {
margin: 0;
padding: 16px 32px;
background-color: #9dd3f0;
text-align: center;
2020-06-29 15:45:27 -06:00
cursor: default;
2020-06-25 10:01:06 -06:00
}
2020-06-25 12:31:57 -06:00
h2, h3 {
2020-06-27 07:00:22 -06:00
margin-top: 32px;
2020-06-29 15:45:27 -06:00
cursor: default;
2020-06-25 11:43:44 -06:00
}
p {
line-height: 1.3em;
}
2020-06-25 10:01:06 -06:00
a {
color: #3f9acc;
}
2020-06-25 12:31:57 -06:00
a.bigBtn {
margin-right: 8px;
}
2020-06-28 12:14:31 -06:00
code {
display: block;
padding: 8px;
background-color: #eee;
border: solid 1px #ddd;
user-select: all;
}
2020-06-25 10:01:06 -06:00
textarea {
width: 100%;
height: 128px;
resize: vertical;
}
2020-06-25 14:49:08 -06:00
input[type="text"] {
margin: 0 12px 12px 0;
2020-06-29 12:57:29 -06:00
width: 45%;
2020-06-25 14:49:08 -06:00
}
2020-06-25 10:01:06 -06:00
input[type="radio"] {
vertical-align: sub;
}
2020-06-25 12:31:57 -06:00
input[type="submit"] {
width: 100%;
}
2020-06-25 10:01:06 -06:00
.green {
color: green;
}
.red {
color: red;
}
.label {
display: inline-block;
margin: 0 0 8px;
}
2020-06-26 16:50:21 -06:00
.container--profile {
margin-top: 64px;
}
.container--profile .content {
padding-top: 32px;
font-size: 1.2em;
}
.container--profile footer {
text-align: center;
}
.profileDataItem {
position: relative;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.profileDataItem--separator {
margin-top: 1em;
font-weight: bold;
}
.profileDataItem__label {
display: inline-block;
position: relative;
flex: 1;
min-height: 32px;
padding: 0 8px;
max-width: 20%;
color: #777;
text-align: right;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.profileDataItem__value {
display: inline-block;
flex: 1;
min-height: 32px;
max-width: 100%;
padding: 0 8px;
}
.profileDataItem__value a {
display: inline-block;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
a.proofDisplay {
margin-right: 8px;
2020-06-26 16:50:21 -06:00
}
a.proofUrl {
2020-06-26 16:50:21 -06:00
color: #777;
}
a.proofUrl.proofUrl--verified {
2020-06-26 16:50:21 -06:00
color: #499539;
}
a.proofUrl:hover {
2020-06-26 16:50:21 -06:00
text-decoration: underline;
}
@media (max-width: 680px) {
.profileDataItem {
flex-direction: column;
margin-bottom: 8px;
2020-06-26 16:50:21 -06:00
}
.profileDataItem__label {
max-width: 100%;
min-height: 28px;
text-align: left;
}
.profileDataItem__value {
min-height: 28px;
}
.profileDataItem--noLabel .profileDataItem__label {
display: none;
}
2020-06-26 16:50:21 -06:00
}