hagrid-keyserver--hagrid/dist/assets/proofs.css

251 lines
3.6 KiB
CSS

.second ul {
list-style-type: none;
padding: 0;
}
.second ul .key {
font-family: monospace;
}
.ui {
margin-bottom: 50px;
margin-top: 50px;
font-size: 120%;
}
.ui .first {
flex: 3;
}
.ui .second {
flex: 5;
}
.top_link {
position: absolute;
top: 10px;
margin: 10px;
font-size: 12px;
}
.top_link a {
color: #bbb;
}
.back_link {
left: 10px;
}
.proofs_link {
right: 10px;
}
.proofs .proof {
font-size: small;
font-weight: bolder;
margin-left: 10px;
color: #73a6ff
}
.proofs .verified {
color: green;
}
.proofs .proof::before {
background-image: url(/assets/img/certificate.svg);
width: 14px;
height: 14px;
display: inline-block;
margin-right: 3px;
content: "";
background-repeat: no-repeat;
vertical-align: middle;
}
.proofs .verified::before {
content: "✅";
background-image: none;
vertical-align: initial;
}
.avatar {
width: 148px;
height: 148px;
border-radius: 74px;
display: block;
margin-left: auto;
margin-right: auto;
}
.second ul li {
padding: 4px;
}
.proofs .service {
vertical-align: top;
}
.proofs .service::before, .key::before, .email::before {
width: 16px;
height: 16px;
display: inline-block;
margin: -2px;
margin-right: .5em;
content: "";
background-repeat: no-repeat;
}
.proofs .service-github::before {
background-image: url(/assets/img/github.svg);
}
.proofs .service-reddit::before {
background-image: url(/assets/img/reddit.svg);
}
.proofs .service-hackernews::before {
background-image: url(/assets/img/hackernews.svg);
}
.proofs .service-mastodon::before {
background-image: url(/assets/img/mastodon.svg);
}
.proofs .service-dns::before, .proofs .service-https::before {
background-image: url(/assets/img/globe.svg);
}
.key::before {
background-image: url(/assets/img/key.svg);
}
.email::before {
background-image: url(/assets/img/envelope.svg);
}
.info {
margin-bottom: .5em;
}
.balloon {
display: table;
position: relative;
border: solid 1px silver;
box-shadow: 3px 3px 6px rgba(0,0,0,.32);
padding: 0 .5em;
border-radius: 4px;
margin-top: 9px;
background-color: white;
display: none;
margin-left: -40px;
position: absolute;
padding: 20px;
left: 30px;
right: 0;
}
summary {
font-weight: bold;
cursor: pointer;
}
.proofs input {
display: none;
}
.proofs label {
cursor: pointer;
}
.proofs label:hover {
text-decoration: underline;
}
input:checked ~ .balloon {
display: block;
}
.balloon::before, .balloon::after {
position: absolute;
content: "";
border: 10px solid transparent;
border-top-width: 0;
white-space: nowrap;
}
.balloon::before {
border-bottom-color: rgba(215, 215, 215, 0.9);
top: -10px;
}
.balloon::after {
border-bottom-color: #fff;
top: -7px;
z-index: 1;
}
.balloon ul {
list-style-type: disc;
}
.balloon h3 {
margin-top: 0;
margin-bottom: 10px;
}
.balloon li {
white-space: pre-wrap;
word-wrap: break-word;
line-height: 120%;
}
.balloon .close {
float: right;
color: silver;
margin-top: -13px;
margin-right: 3px;
cursor: pointer;
font-size: xx-large;
}
.prooflog {
display: inline-block;
}
.prooflog p {
margin: 0;
}
code {
background-color: inherit;
border-radius: inherit;
box-shadow: none;
white-space: pre-wrap;
word-wrap: break-word;
}
@media (min-width: 800px) {
.ui {
display: flex;
margin: 20px;
margin-top: 70px;
}
.ui > div {
margin: 0;
}
.second ul {
padding-left: 40px;
margin-top: 0;
margin-left: 50px;
}
.balloon {
left: 100px;
right: 100px;
}
.balloon::before, .balloon::after {
right: 50px;
}
}