1
1
mirror of https://github.com/rsms/inter.git synced 2024-12-25 08:33:40 +03:00
inter/docs/index.css

332 lines
9.6 KiB
CSS
Raw Normal View History

2018-02-21 23:20:04 +03:00
2019-02-19 18:23:24 +03:00
h1 {
color: #010101;
2019-02-25 20:17:53 +03:00
font-size:81px;
2019-02-19 18:23:24 +03:00
letter-spacing: -0.055em;
line-height: 0.9em;
text-indent: -0.03em;
margin-bottom: 4rem;
margin-top: 10px;
font-weight: 740;
}
2019-02-25 20:17:53 +03:00
/* title scales as window shrinks */
@media only screen and (max-width: 988px) {
h1 { font-size: calc(100vw / 12.2); }
}
@media only screen and (max-width: 900px) {
h1 { font-size: calc(100vw / 12.5); }
}
@media only screen and (max-width: 760px) {
h1 { font-size: calc(100vw / 12.8); }
}
@media only screen and (max-width: 660px) {
h1 { font-size: calc(100vw / 13.2); }
}
2019-02-19 18:23:24 +03:00
@media only screen and (max-width: 565px) {
h1 {
2019-02-24 22:08:55 +03:00
font-size: 60px;
2019-02-19 18:23:24 +03:00
letter-spacing: -0.045em;
2019-02-24 22:08:55 +03:00
text-indent: -0.012em;
2019-02-19 18:23:24 +03:00
line-height: 1em;
}
}
2019-02-25 20:17:53 +03:00
.weights-and-styles {
display: block;
opacity: 0.98;
width: 100%;
margin: 3em 0 3em 0;
}
2018-02-21 23:20:04 +03:00
#hidden-text-input {
position: absolute;
left:0;
top:0;
background: none;
border: none;
opacity: 0;
pointer-events: none;
}
.dynmet-calc {
2019-02-19 18:23:24 +03:00
font-weight: 440;
font-size: 1.2rem;
line-height: calc(var(--spacingv) * 2);
/*font-size: 1.5rem;*/
/*line-height: 26px;*/
2018-02-21 23:20:04 +03:00
user-select: text;
}
.dynmet-calc input {
border: none;
2019-02-19 18:23:24 +03:00
/*box-shadow: 0 0.125rem 0 0 rgba(0, 0, 0, 0.3);*/
2018-02-21 23:20:04 +03:00
background: transparent;
font: inherit;
outline: none;
margin: 0 0.2em;
width: 40px;
text-align: center;
line-height: inherit;
2019-02-19 18:23:24 +03:00
color: var(--red);
2018-02-21 23:20:04 +03:00
user-select: text;
2019-02-19 18:23:24 +03:00
border-radius: 0.2rem;
}
.dynmet-calc input:hover {
box-shadow: 0 0 0 0.12rem rgba(0, 0, 0, 0.3);
2018-02-21 23:20:04 +03:00
}
.dynmet-calc input:focus {
2019-02-19 18:23:24 +03:00
/*box-shadow: 0 2px 0 0 var(--red);*/
background: rgba(0, 0, 0, 0.07);
2018-02-21 23:20:04 +03:00
}
.dynmet-calc input[type=number]::-webkit-inner-spin-button,
.dynmet-calc input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.dynmet-calc .arrow {
margin: 0 0.5em;
2019-02-19 18:23:24 +03:00
/*color: var(--red);*/
2018-02-21 23:20:04 +03:00
}
.dynmet-calc #dynmet-tracking {
box-shadow: none;
width: 57px;
margin-right: 0.1em;
2019-02-19 18:23:24 +03:00
color: var(--red);
2018-02-21 23:20:04 +03:00
}
.dynmet-calc #dynmet-tracking.percent {
width: 34px;
}
.dynmet-calc #dynmet-unit:hover {
color: rgb(43, 139, 247);
}
.dynmet-calc #dynmet-unit:active {
color: white;
}
2018-11-25 02:15:31 +03:00
/* FAQ */
2019-02-19 18:23:24 +03:00
grid.faq {
grid-row-gap: calc(var(--spacingv) * 3);
}
.faq .q {
font-weight: 600;
}
2019-02-24 22:08:55 +03:00
.faq h4:target {
background: var(--yellow);
2018-11-25 02:15:31 +03:00
}
tablex in, tablex to, tablex out {
display: table-cell;
width: 5%;
white-space: pre;
padding-bottom:0.5em;
}
2019-02-06 22:49:18 +03:00
tablex to::after {
-moz-font-feature-settings: 'calt' 1, 'case' 1;
-ms-font-feature-settings: 'calt' 1, 'case' 1;
-o-font-feature-settings: 'calt' 1, 'case' 1;
-webkit-font-feature-settings: 'calt' 1, 'case' 1;
font-feature-settings: 'calt' 1, 'case' 1;
content: " → ";
color: rgba(0,0,0,0.2);
}
tablex in, tablex out {
color: rgba(0,0,0,0.8);
}
tablex r name {
color: rgba(0,0,0,0.4);
}
tablex in {
-moz-font-feature-settings: 'calt' 0;
-ms-font-feature-settings: 'calt' 0;
-o-font-feature-settings: 'calt' 0;
-webkit-font-feature-settings: 'calt' 0;
font-feature-settings: 'calt' 0;
}
tablex out {
-moz-font-feature-settings: 'calt' 1;
-ms-font-feature-settings: 'calt' 1;
-o-font-feature-settings: 'calt' 1;
-webkit-font-feature-settings: 'calt' 1;
font-feature-settings: 'calt' 1;
}
tablex em {
font-style: inherit;
background: #e4fdef;
color: rgba(0,0,0,1);
}
tablex out.zero {
-moz-font-feature-settings: 'calt' 1, 'zero' 1;
-ms-font-feature-settings: 'calt' 1, 'zero' 1;
-o-font-feature-settings: 'calt' 1, 'zero' 1;
-webkit-font-feature-settings: 'calt' 1, 'zero' 1;
font-feature-settings: 'calt' 1, 'zero' 1;
}
tablex out.tnum {
-moz-font-feature-settings: 'calt' 1, 'tnum' 1;
-ms-font-feature-settings: 'calt' 1, 'tnum' 1;
-o-font-feature-settings: 'calt' 1, 'tnum' 1;
-webkit-font-feature-settings: 'calt' 1, 'tnum' 1;
font-feature-settings: 'calt' 1, 'tnum' 1;
}
tablex out.case {
-moz-font-feature-settings: 'calt' 1, 'case' 1;
-ms-font-feature-settings: 'calt' 1, 'case' 1;
-o-font-feature-settings: 'calt' 1, 'case' 1;
-webkit-font-feature-settings: 'calt' 1, 'case' 1;
font-feature-settings: 'calt' 1, 'case' 1;
}
tablex out.frac {
-moz-font-feature-settings: 'calt' 1, 'frac' 1;
-ms-font-feature-settings: 'calt' 1, 'frac' 1;
-o-font-feature-settings: 'calt' 1, 'frac' 1;
-webkit-font-feature-settings: 'calt' 1, 'frac' 1;
font-feature-settings: 'calt' 1, 'frac' 1;
}
tablex out.numr {
-moz-font-feature-settings: 'calt' 1, 'numr' 1;
-ms-font-feature-settings: 'calt' 1, 'numr' 1;
-o-font-feature-settings: 'calt' 1, 'numr' 1;
-webkit-font-feature-settings: 'calt' 1, 'numr' 1;
font-feature-settings: 'calt' 1, 'numr' 1;
}
tablex out.dnom {
-moz-font-feature-settings: 'calt' 1, 'dnom' 1;
-ms-font-feature-settings: 'calt' 1, 'dnom' 1;
-o-font-feature-settings: 'calt' 1, 'dnom' 1;
-webkit-font-feature-settings: 'calt' 1, 'dnom' 1;
font-feature-settings: 'calt' 1, 'dnom' 1;
}
tablex out.sups {
-moz-font-feature-settings: 'calt' 1, 'sups' 1;
-ms-font-feature-settings: 'calt' 1, 'sups' 1;
-o-font-feature-settings: 'calt' 1, 'sups' 1;
-webkit-font-feature-settings: 'calt' 1, 'sups' 1;
font-feature-settings: 'calt' 1, 'sups' 1;
}
tablex out.subs {
-moz-font-feature-settings: 'calt' 1, 'subs' 1;
-ms-font-feature-settings: 'calt' 1, 'subs' 1;
-o-font-feature-settings: 'calt' 1, 'subs' 1;
-webkit-font-feature-settings: 'calt' 1, 'subs' 1;
font-feature-settings: 'calt' 1, 'subs' 1;
}
tablex out.ss01 {
-moz-font-feature-settings: 'calt' 1, 'ss01' 1;
-ms-font-feature-settings: 'calt' 1, 'ss01' 1;
-o-font-feature-settings: 'calt' 1, 'ss01' 1;
-webkit-font-feature-settings: 'calt' 1, 'ss01' 1;
font-feature-settings: 'calt' 1, 'ss01' 1;
}
tablex out.ss02 {
-moz-font-feature-settings: 'calt' 1, 'ss02' 1;
-ms-font-feature-settings: 'calt' 1, 'ss02' 1;
-o-font-feature-settings: 'calt' 1, 'ss02' 1;
-webkit-font-feature-settings: 'calt' 1, 'ss02' 1;
font-feature-settings: 'calt' 1, 'ss02' 1;
}
tablex out.cpsp {
-moz-font-feature-settings: 'calt' 1, 'cpsp' 1;
-ms-font-feature-settings: 'calt' 1, 'cpsp' 1;
-o-font-feature-settings: 'calt' 1, 'cpsp' 1;
-webkit-font-feature-settings: 'calt' 1, 'cpsp' 1;
font-feature-settings: 'calt' 1, 'cpsp' 1;
}
tablex out.dlig {
-moz-font-feature-settings: 'calt' 1, 'dlig' 1;
-ms-font-feature-settings: 'calt' 1, 'dlig' 1;
-o-font-feature-settings: 'calt' 1, 'dlig' 1;
-webkit-font-feature-settings: 'calt' 1, 'dlig' 1;
font-feature-settings: 'calt' 1, 'dlig' 1;
}
tablex out.cv01 {
-moz-font-feature-settings: 'calt' 1, 'cv01' 1;
-ms-font-feature-settings: 'calt' 1, 'cv01' 1;
-o-font-feature-settings: 'calt' 1, 'cv01' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv01' 1;
font-feature-settings: 'calt' 1, 'cv01' 1;
}
tablex out.cv02 {
-moz-font-feature-settings: 'calt' 1, 'cv02' 1;
-ms-font-feature-settings: 'calt' 1, 'cv02' 1;
-o-font-feature-settings: 'calt' 1, 'cv02' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv02' 1;
font-feature-settings: 'calt' 1, 'cv02' 1;
}
tablex out.cv03 {
-moz-font-feature-settings: 'calt' 1, 'cv03' 1;
-ms-font-feature-settings: 'calt' 1, 'cv03' 1;
-o-font-feature-settings: 'calt' 1, 'cv03' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv03' 1;
font-feature-settings: 'calt' 1, 'cv03' 1;
}
tablex out.cv04 {
-moz-font-feature-settings: 'calt' 1, 'cv04' 1;
-ms-font-feature-settings: 'calt' 1, 'cv04' 1;
-o-font-feature-settings: 'calt' 1, 'cv04' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv04' 1;
font-feature-settings: 'calt' 1, 'cv04' 1;
}
tablex out.cv05 {
-moz-font-feature-settings: 'calt' 1, 'cv05' 1;
-ms-font-feature-settings: 'calt' 1, 'cv05' 1;
-o-font-feature-settings: 'calt' 1, 'cv05' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv05' 1;
font-feature-settings: 'calt' 1, 'cv05' 1;
}
tablex out.cv06 {
-moz-font-feature-settings: 'calt' 1, 'cv06' 1;
-ms-font-feature-settings: 'calt' 1, 'cv06' 1;
-o-font-feature-settings: 'calt' 1, 'cv06' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv06' 1;
font-feature-settings: 'calt' 1, 'cv06' 1;
}
2018-10-11 09:26:27 +03:00
tablex out.cv07 {
-moz-font-feature-settings: 'calt' 1, 'cv07' 1;
-ms-font-feature-settings: 'calt' 1, 'cv07' 1;
-o-font-feature-settings: 'calt' 1, 'cv07' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv07' 1;
font-feature-settings: 'calt' 1, 'cv07' 1;
}
2018-11-25 02:15:31 +03:00
tablex out.cv08 {
-moz-font-feature-settings: 'calt' 1, 'cv08' 1;
-ms-font-feature-settings: 'calt' 1, 'cv08' 1;
-o-font-feature-settings: 'calt' 1, 'cv08' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv08' 1;
font-feature-settings: 'calt' 1, 'cv08' 1;
}
tablex out.cv09 {
-moz-font-feature-settings: 'calt' 1, 'cv09' 1;
-ms-font-feature-settings: 'calt' 1, 'cv09' 1;
-o-font-feature-settings: 'calt' 1, 'cv09' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv09' 1;
font-feature-settings: 'calt' 1, 'cv09' 1;
}
2019-02-04 02:15:15 +03:00
tablex out.cv10 {
-moz-font-feature-settings: 'calt' 1, 'cv10' 1;
-ms-font-feature-settings: 'calt' 1, 'cv10' 1;
-o-font-feature-settings: 'calt' 1, 'cv10' 1;
-webkit-font-feature-settings: 'calt' 1, 'cv10' 1;
font-feature-settings: 'calt' 1, 'cv10' 1;
}
boxes.features box h3 + p {
margin-top:0.5em;
}
2019-02-06 22:49:18 +03:00
boxes.features grid .sample {
word-break: break-word;
word-wrap: break-word;
}
boxes.features grid .sample em {
font-style: inherit;
background: #e4fdef;
color: black;
}