Files
passmate/passmate.css

285 lines
4.1 KiB
CSS
Raw Normal View History

2018-11-18 23:19:17 +00:00
@font-face {
font-family: 'copernicus';
2018-11-20 09:17:41 +00:00
src: url('copernicus-semibold.woff2') format('woff2');
font-weight: 600;
2018-11-21 07:53:38 +00:00
font-display: block;
2018-11-20 09:17:41 +00:00
}
@font-face {
font-family: 'inconsolata';
src: url('inconsolata-bold.woff2') format('woff2');
2018-11-22 06:45:23 +00:00
font-weight: 700;
2018-11-21 07:53:38 +00:00
font-display: block;
2018-11-20 09:17:41 +00:00
}
@font-face {
font-family: 'proxima-nova';
src: url('proxima-nova-regular.woff2') format('woff2');
font-weight: 400;
2018-11-21 07:53:38 +00:00
font-display: block;
2018-11-20 09:17:41 +00:00
}
@font-face {
font-family: 'proxima-nova';
src: url('proxima-nova-semibold.woff2') format('woff2');
font-weight: 600;
2018-11-21 07:53:38 +00:00
font-display: block;
2018-11-18 23:19:17 +00:00
}
@page {
size: letter landscape;
margin: 0;
}
2018-11-21 08:16:55 +00:00
html {
height: 100%;
}
2018-11-18 23:19:17 +00:00
body {
margin: 0;
font-family: 'proxima-nova';
font-weight: 400;
2018-11-21 08:16:55 +00:00
height: 100%;
2018-11-18 23:19:17 +00:00
}
overview,product {
display: none;
2018-11-18 23:19:17 +00:00
}
@media screen {
overview {
display: flex;
flex-direction: column;
align-items: center;
margin: 1em;
}
2018-11-20 07:08:12 +00:00
h1 {
font-family: 'copernicus';
font-weight: 600;
align-self: center;
}
2018-11-18 23:19:17 +00:00
h2 {
font-family: 'proxima-nova';
font-weight: 600;
align-self: center;
margin-top: 1.2em;
}
2018-11-21 06:49:01 +00:00
blurb {
text-align: justify;
margin-bottom: 1em;
max-width: 40em;
}
2018-11-20 07:08:12 +00:00
a {
margin-bottom: 1em;
max-width: 40em;
text-decoration: none;
color: black;
}
owner {
display: block;
width: 11em;
2018-11-20 07:08:12 +00:00
border-bottom: black 1px dotted;
2018-11-20 07:08:12 +00:00
font-family: 'proxima-nova';
font-weight: 600;
font-size: 1.5em;
text-align: left;
align-self: center;
margin-top: 0;
margin-bottom: 1em;
}
recovery {
display: block;
width: 17em;
2018-11-18 23:19:17 +00:00
border-bottom: black 1px dotted;
2018-11-18 23:19:17 +00:00
font-family: 'inconsolata';
font-weight: 700;
font-size: 1.2em;
2018-11-18 23:19:17 +00:00
text-align: center;
align-self: center;
2018-11-18 23:19:17 +00:00
margin-top: 0;
margin-bottom: 1em;
}
2018-11-18 23:19:17 +00:00
ol {
box-sizing: border-box;
max-width: 40em;
margin: 0;
padding-inline-start: 1em;
}
2018-11-18 23:19:17 +00:00
ol > li {
margin-bottom: 1em;
}
2018-11-18 23:19:17 +00:00
.selected {
font-weight: 600;
}
2018-11-18 23:19:17 +00:00
}
@media print {
product {
display: block;
width: 100%;
height: 100%;
}
2018-11-18 23:19:17 +00:00
h1 {
font-family: 'copernicus';
font-weight: 600;
align-self: center;
}
2018-11-18 23:19:17 +00:00
h2 {
font-family: 'proxima-nova';
font-weight: 600;
align-self: center;
}
2018-11-18 23:19:17 +00:00
side {
page-break-inside: avoid;
2018-11-18 23:19:17 +00:00
width: 100%;
height: 100%;
2018-11-18 23:19:17 +00:00
display: flex;
flex-direction: row;
}
2018-11-18 23:19:17 +00:00
side:nth-of-type(even) {
transform: rotateZ(180deg);
}
2018-11-18 23:19:17 +00:00
page {
flex-basis: 0;
flex-grow: 1;
flex-shrink: 0;
position: relative;
2018-11-18 23:19:17 +00:00
padding: 1.5em;
2018-11-18 23:19:17 +00:00
display: flex;
flex-direction: column;
}
2018-11-18 23:19:17 +00:00
page:first-of-type {
border-right: 1px black solid;
}
2018-11-18 23:19:17 +00:00
pagenum {
order: 99;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
2018-11-18 23:19:17 +00:00
page:first-of-type pagenum {
}
2018-11-18 23:19:17 +00:00
page:last-of-type pagenum {
align-self: flex-end;
}
2018-11-18 23:19:17 +00:00
letter {
font-family: 'copernicus';
font-weight: 600;
font-size: 4em;
margin-bottom: 0.2em;
}
2018-11-18 23:19:17 +00:00
page:last-of-type letter {
align-self: flex-end;
}
2018-11-18 23:19:17 +00:00
blurb {
text-align: justify;
margin-bottom: 1em;
}
2018-11-18 23:19:17 +00:00
owner {
display: block;
width: 11em;
2018-11-18 23:19:17 +00:00
border-bottom: black 1px dotted;
2018-11-18 23:19:17 +00:00
font-family: 'proxima-nova';
font-weight: 600;
font-size: 1.5em;
text-align: center;
align-self: center;
margin-top: 1em;
margin-bottom: 1em;
}
recovery {
display: block;
width: 17em;
border-bottom: black 1px dotted;
font-family: 'inconsolata';
font-weight: 700;
font-size: 1.5em;
text-align: center;
align-self: center;
2018-11-18 23:19:17 +00:00
margin-top: 1em;
}
passwordBlock {
display: grid;
margin-bottom: 1.5em;
font-size: 1.4em;
grid-template:
[password-start] "passwordLabel password" [password-end]
[website-start] "websiteLabel website" [website-end]
[username-start] "usernameLabel username" [username-end];
grid-template-columns: 5em auto;
grid-column-gap: 0.5em;
grid-row-gap: 0.2em;
}
passwordLabel,websiteLabel,usernameLabel {
text-align: right;
}
password {
display: block;
font-family: 'inconsolata';
font-weight: 700;
font-size: 1.1em;
}
passwordSymbols {
color: darkgrey;
border: 1px darkgrey dotted;
border-radius: 1em;
padding: 0.2em;
margin: 0.2em;
}
website,username {
width: 100%;
border-bottom: black 1px dotted;
margin-bottom: 0.17em;
}
2018-11-18 23:19:17 +00:00
}