shrub/lib/base.css

182 lines
3.2 KiB
CSS
Raw Normal View History

2015-04-08 05:02:54 +03:00
@font-face {
font-family: "bau";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/bau.woff");
2015-04-08 05:02:54 +03:00
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "bau";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/bau-italic.woff");
2015-04-08 05:02:54 +03:00
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: "bau";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/bau-medium.woff");
2015-04-08 05:02:54 +03:00
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "bau";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/bau-mediumitalic.woff");
2015-04-08 05:02:54 +03:00
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: "bau";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/bau-bold.woff");
2015-04-08 05:02:54 +03:00
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: "bau";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/bau-bolditalic.woff");
2015-04-08 05:02:54 +03:00
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: "bau";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/bau-super.woff");
2015-04-08 05:02:54 +03:00
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: "bau";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/bau-superitalic.woff");
2015-04-08 05:02:54 +03:00
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: "scp";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/scp-extralight.woff");
2015-04-08 05:02:54 +03:00
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: "scp";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/scp-light.woff");
2015-04-08 05:02:54 +03:00
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: "scp";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/scp-regular.woff");
2015-04-08 05:02:54 +03:00
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "scp";
2015-07-09 22:38:45 +03:00
src: url("//storage.googleapis.com/urbit-extra/scp-medium.woff");
2015-04-08 05:02:54 +03:00
font-weight: 500;
font-style: normal;
}
2015-09-30 00:29:38 +03:00
@font-face {
font-family: "scp";
src: url("//storage.googleapis.com/urbit-extra/scp-bold.woff");
font-weight: 600;
font-style: normal;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
@font-face {
font-family: "scp";
src: url("//storage.googleapis.com/urbit-extra/scp-black.woff");
font-weight: 700;
font-style: normal;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
html,
body {
2015-09-16 22:04:51 +03:00
margin: 0;
padding: 0;
}
2015-09-30 00:29:38 +03:00
html,
input,
button,
body {
font-family: "bau";
font-size: 18px;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
pre,
code,
.mono {
font-family:"scp";
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
#c {
width: 32rem;
margin-left: -16rem;
2015-09-16 22:04:51 +03:00
position: absolute;
2015-09-30 00:29:38 +03:00
left: 50%;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
h1 {
font-size: 1.6rem;
2015-04-08 05:02:54 +03:00
font-weight: 500;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
h1:after {
content: "\2014";
margin-left: 1rem;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
#c pre {
font-size: .6rem;
margin-top: 2rem;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
#pass {
2015-09-16 22:04:51 +03:00
width: 32rem;
}
2015-09-30 00:29:38 +03:00
button {
border: .3rem solid #000;
background-color: #fff;
font-size: 1rem;
padding: .3rem;
font-weight: 500;
2015-04-08 05:02:54 +03:00
}
2015-09-30 00:29:38 +03:00
.sig {
2015-05-17 23:27:59 +03:00
font-weight: 400;
2015-09-30 00:29:38 +03:00
font-size: 2rem;
2015-05-17 23:27:59 +03:00
display: inline;
2015-09-30 00:29:38 +03:00
vertical-align: middle;
2015-05-17 23:27:59 +03:00
}
2015-09-30 00:29:38 +03:00
span#ship {
font-family: 'bau';
2015-09-16 22:04:51 +03:00
font-weight: 400;
font-size: 1.2rem;
2015-09-30 00:29:38 +03:00
text-transform: uppercase;
letter-spacing: .1rem;
display: inline-block;
min-width: 1rem;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
input {
font-family: 'scp';
2015-04-08 05:02:54 +03:00
display: inline;
2015-05-17 23:27:59 +03:00
}
2015-09-30 00:29:38 +03:00
span#ship,
input {
border: none;
padding: .3rem;
outline: none;
border-bottom: 3px solid #555;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
2015-09-16 22:04:51 +03:00
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
2015-09-30 00:29:38 +03:00
#c {
width: 16rem;
margin-left: -8rem;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
#pass {
width: 16rem;
2015-09-16 22:04:51 +03:00
}
2015-09-30 00:29:38 +03:00
input {
-webkit-appearance: none;
border-radius: 0;
2015-09-16 22:04:51 +03:00
}
}