mirror of
https://github.com/rsms/inter.git
synced 2024-12-24 16:14:35 +03:00
332 lines
9.6 KiB
CSS
332 lines
9.6 KiB
CSS
|
|
h1 {
|
|
color: #010101;
|
|
font-size:81px;
|
|
letter-spacing: -0.055em;
|
|
line-height: 0.9em;
|
|
text-indent: -0.03em;
|
|
margin-bottom: 4rem;
|
|
margin-top: 10px;
|
|
font-weight: 740;
|
|
}
|
|
/* 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); }
|
|
}
|
|
|
|
@media only screen and (max-width: 565px) {
|
|
h1 {
|
|
font-size: 60px;
|
|
letter-spacing: -0.045em;
|
|
text-indent: -0.012em;
|
|
line-height: 1em;
|
|
}
|
|
}
|
|
|
|
.weights-and-styles {
|
|
display: block;
|
|
opacity: 0.98;
|
|
width: 100%;
|
|
margin: 3em 0 3em 0;
|
|
}
|
|
|
|
#hidden-text-input {
|
|
position: absolute;
|
|
left:0;
|
|
top:0;
|
|
background: none;
|
|
border: none;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dynmet-calc {
|
|
font-weight: 440;
|
|
font-size: 1.2rem;
|
|
line-height: calc(var(--spacingv) * 2);
|
|
/*font-size: 1.5rem;*/
|
|
/*line-height: 26px;*/
|
|
user-select: text;
|
|
}
|
|
.dynmet-calc input {
|
|
border: none;
|
|
/*box-shadow: 0 0.125rem 0 0 rgba(0, 0, 0, 0.3);*/
|
|
background: transparent;
|
|
font: inherit;
|
|
outline: none;
|
|
margin: 0 0.2em;
|
|
width: 40px;
|
|
text-align: center;
|
|
line-height: inherit;
|
|
color: var(--red);
|
|
user-select: text;
|
|
border-radius: 0.2rem;
|
|
}
|
|
.dynmet-calc input:hover {
|
|
box-shadow: 0 0 0 0.12rem rgba(0, 0, 0, 0.3);
|
|
}
|
|
.dynmet-calc input:focus {
|
|
/*box-shadow: 0 2px 0 0 var(--red);*/
|
|
background: rgba(0, 0, 0, 0.07);
|
|
}
|
|
.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;
|
|
/*color: var(--red);*/
|
|
}
|
|
|
|
.dynmet-calc #dynmet-tracking {
|
|
box-shadow: none;
|
|
width: 57px;
|
|
margin-right: 0.1em;
|
|
color: var(--red);
|
|
}
|
|
.dynmet-calc #dynmet-tracking.percent {
|
|
width: 34px;
|
|
}
|
|
|
|
.dynmet-calc #dynmet-unit:hover {
|
|
color: rgb(43, 139, 247);
|
|
}
|
|
.dynmet-calc #dynmet-unit:active {
|
|
color: white;
|
|
}
|
|
|
|
|
|
/* FAQ */
|
|
grid.faq {
|
|
grid-row-gap: calc(var(--spacingv) * 3);
|
|
}
|
|
.faq .q {
|
|
font-weight: 600;
|
|
}
|
|
.faq h4:target {
|
|
background: var(--yellow);
|
|
}
|
|
|
|
tablex in, tablex to, tablex out {
|
|
display: table-cell;
|
|
width: 5%;
|
|
white-space: pre;
|
|
padding-bottom:0.5em;
|
|
}
|
|
|
|
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;
|
|
}
|
|
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;
|
|
}
|
|
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;
|
|
}
|
|
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;
|
|
}
|
|
|
|
boxes.features grid .sample {
|
|
word-break: break-word;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
boxes.features grid .sample em {
|
|
font-style: inherit;
|
|
background: #e4fdef;
|
|
color: black;
|
|
}
|