This commit is contained in:
Liyas Thomas
2019-11-29 11:25:13 +05:30
parent 1872dacb5e
commit 068d251b64
7 changed files with 150 additions and 62 deletions

View File

@@ -26,6 +26,7 @@
direction: ltr;
-webkit-font-feature-settings: "liga";
-webkit-font-smoothing: antialiased;
font-feature-settings: "liga";
}
/* poppins-500 - latin */
@@ -37,7 +38,8 @@
src: local("Poppins Medium"), local("Poppins-Medium"),
url("~assets/fonts/poppins-v9-latin-500.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("~assets/fonts/poppins-v9-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url("~assets/fonts/poppins-v9-latin-500.woff") format("woff");
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* poppins-700 - latin */
@@ -49,7 +51,8 @@
src: local("Poppins Bold"), local("Poppins-Bold"),
url("~assets/fonts/poppins-v9-latin-700.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("~assets/fonts/poppins-v9-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url("~assets/fonts/poppins-v9-latin-700.woff") format("woff");
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-mono-regular - latin */
@@ -61,5 +64,6 @@
src: local("Roboto Mono"), local("RobotoMono-Regular"),
url("~assets/fonts/roboto-mono-v7-latin-regular.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("~assets/fonts/roboto-mono-v7-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url("~assets/fonts/roboto-mono-v7-latin-regular.woff") format("woff");
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

View File

@@ -79,7 +79,6 @@ body {
// Make theme transition smoother.
body.afterLoad {
&,
& * {
transition: background-color 0.2s ease-in-out, border 0.2s ease-in-out;
@@ -98,7 +97,7 @@ a {
header,
footer {
&>div {
& > div {
display: flex;
padding: 16px;
width: 100%;
@@ -551,7 +550,7 @@ input[type="checkbox"] {
display: none;
&,
&+label {
& + label {
vertical-align: middle;
cursor: pointer;
@@ -570,7 +569,7 @@ input[type="checkbox"] {
}
}
&:checked+label:before {
&:checked + label:before {
background-color: var(--ac-color);
border-color: var(--ac-color);
color: var(--act-color);
@@ -737,7 +736,7 @@ input[type="radio"],
display: none;
}
input[type="radio"]+label {
input[type="radio"] + label {
padding: 8px 16px;
border-bottom: 2px solid transparent;
cursor: pointer;
@@ -750,12 +749,12 @@ input[type="radio"]+label {
}
}
input[type="radio"]:checked+label {
input[type="radio"]:checked + label {
border-color: var(--fg-color);
color: var(--fg-color);
}
input[type="radio"]:checked+label+.tab {
input[type="radio"]:checked + label + .tab {
display: block;
}

View File

@@ -33,7 +33,7 @@
@include darkTheme;
}
@media(prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
:root.auto {
@include darkTheme;
}
@@ -65,7 +65,7 @@
@include lightTheme;
}
@media(prefers-color-scheme: light) {
@media (prefers-color-scheme: light) {
:root.auto {
@include lightTheme;
}