keyoxide-web/assets/styles.css

311 lines
5.4 KiB
CSS
Raw Normal View History

2020-06-25 10:01:06 -06:00
* {
box-sizing: border-box;
}
body {
margin: 0;
2020-07-21 16:30:54 -06:00
color: #444;
font-family: sans-serif;
2020-07-11 11:33:56 -06:00
background-color: #9dd3f0;
background-image: url('/assets/img/background.svg');
background-repeat: repeat;
background-size: 512px;
background-position: -16px -16px;
2020-06-25 10:01:06 -06:00
}
header {
2020-07-15 06:03:50 -06:00
height: 64px;
padding: 8px;
2020-06-25 10:01:06 -06:00
margin: 0 0 48px;
font-size: 1.1em;
background-color: #fff;
2020-07-11 11:33:56 -06:00
box-shadow: 0 8px 16px rgba(0,0,0,0.15);
2020-06-25 10:01:06 -06:00
}
2020-06-25 12:24:04 -06:00
header .container {
display: flex;
2020-07-15 06:03:50 -06:00
align-items: center;
height: 100%;
}
header a.logo {
display: inline-block;
height: 100%;
}
header .logo img {
height: 100%;
margin: 0 1em 0 0;
2020-06-25 12:24:04 -06:00
}
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
}
2020-07-11 11:33:56 -06:00
footer a {
color: #777;
}
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-07-11 11:33:56 -06:00
border-radius: 8px;
box-shadow: 0 8px 16px rgba(0,0,0,0.15);
2020-06-25 10:01:06 -06:00
}
2020-06-25 12:24:04 -06:00
.spacer {
flex: 1;
}
2020-07-21 16:30:54 -06:00
.flex-column-container {
display: flex;
flex-wrap: wrap;
}
.flex-column {
flex: 1 0 250px;
}
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-07-21 16:30:54 -06:00
padding: 6px 12px;
2020-06-25 15:31:20 -06:00
color: #fff;
2020-07-21 16:30:54 -06:00
font-size: 1.1em;
2020-06-25 12:28:32 -06:00
text-transform: uppercase;
text-decoration: none;
2020-07-21 16:30:54 -06:00
background: #3f9acc;
background: linear-gradient(0deg, #3892c2 0%, #6abae5 100%);
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-07-21 16:30:54 -06:00
background: linear-gradient(0deg, #4da4d2 0%, #82c5ea 100%);
2020-06-25 12:28:32 -06:00
}
2020-06-25 10:01:06 -06:00
h1 {
2020-07-21 16:30:54 -06:00
margin: 0 0 24px 0;
color: #222;
2020-07-11 11:33:56 -06:00
/* background-color: #9dd3f0; */
background-color: #fff;
2020-06-25 10:01:06 -06:00
text-align: center;
2020-06-29 15:45:27 -06:00
cursor: default;
2020-06-25 10:01:06 -06:00
}
2020-07-21 16:30:54 -06:00
h1::after {
content: "";
display: block;
width: 100%;
height: 4px;
margin-top: 12px;
background: linear-gradient(90deg, #8b76f2 0%, #6abae5 100%);
border-radius: 2px;
}
2020-06-25 12:31:57 -06:00
h2, h3 {
2020-06-27 07:00:22 -06:00
margin-top: 32px;
2020-07-21 16:30:54 -06:00
color: #222;
2020-06-29 15:45:27 -06:00
cursor: default;
2020-06-25 11:43:44 -06:00
}
2020-07-21 16:30:54 -06:00
h2 {
padding-right: 32px;
}
h2::after {
content: "";
display: block;
width: 100%;
height: 2px;
/* background: linear-gradient(90deg, #8b76f2 0%, #3892c2 50%, #6abae5 100%); */
background: linear-gradient(90deg, #3892c2 0%, #6abae5 100%);
border-radius: 1px;
}
p {
2020-07-21 16:30:54 -06:00
line-height: 1.4em;
font-size: 1.1em;
}
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-07-21 16:30:54 -06:00
ul {
list-style: "- ";
}
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-07-02 14:50:09 -06:00
font-size: 0.9rem;
2020-06-25 10:01:06 -06:00
}
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-07-02 14:50:09 -06:00
font-size: 0.9rem;
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%;
}
input[type="submit"][disabled="true"] {
cursor: default;
pointer-events: none;
opacity: 0.3;
}
2020-07-05 05:50:25 -06:00
select {
margin: 0 0 16px 0;
}
2020-06-25 10:01:06 -06:00
.green {
color: green;
}
.red {
color: red;
}
.label {
display: inline-block;
margin: 0 0 8px;
}
.modes {
display: none;
}
.modes.modes--visible {
display: block;
}
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;
}
2020-07-16 10:22:47 -06:00
.guides {
display: flex;
flex-wrap: wrap;
}
.guides__section {
flex: 1 0 250px;
}
.guides__section a {
line-height: 1.8em;
}
2020-06-30 00:32:15 -06:00
#profileHeader {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 32px;
}
#profileAvatar {
width: 100%;
max-width: 128px;
2020-06-30 00:32:15 -06:00
border-radius: 100%;
margin-right: 32px;
}
#profileName {
font-size: 1.6em;
font-weight: bold;
display: inline-block;
max-width: 100%;
white-space: wrap;
overflow: hidden;
text-overflow: ellipsis;
2020-06-30 00:32:15 -06:00
}
2020-06-26 16:50:21 -06:00
.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;
}
2020-07-02 14:39:56 -06:00
#qrcode img {
max-width: 100%;
margin: 32px auto 16px;
}
2020-06-26 16:50:21 -06:00
@media (max-width: 680px) {
#profileHeader {
flex-direction: column;
}
#profileAvatar {
margin: 0;
}
#profileName {
font-size: 1.2em;
}
2020-06-26 16:50:21 -06:00
.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-07-02 14:50:09 -06:00
input[type="text"] {
width: 100%;
}
2020-06-26 16:50:21 -06:00
}