Skip to content

Commit

Permalink
Update theme 😎
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBrest committed May 15, 2024
1 parent 82f4c22 commit 8d804c2
Show file tree
Hide file tree
Showing 19 changed files with 1,024 additions and 140 deletions.
556 changes: 556 additions & 0 deletions theme/css/chrome.css

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion theme/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
}

html {
font-family: "Open Sans", sans-serif;
color: var(--fg);
background-color: var(--bg);
text-size-adjust: none;
Expand Down Expand Up @@ -92,6 +91,9 @@ h6:target::before {
box-sizing: border-box;
background-color: var(--bg);
}
.sidebar {
display: flex;
}
.no-js .page-wrapper,
.js:not(.sidebar-resizing) .page-wrapper {
transition: margin-left 0.3s ease, transform 0.3s ease; /* Animation: slide away */
Expand Down
2 changes: 1 addition & 1 deletion theme/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
--content-max-width: 750px;
--menu-bar-height: 50px;
--mono-font: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
--code-font-size: 0.875em /* please adjust the ace font size accordingly in editor.js */
--code-font-size: 0.875em /* please adjust the ace font size accordingly in editor.js */;
}

.hljs {
Expand Down
Binary file added theme/fonts/Rubik-Black.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-BlackItalic.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-Bold.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-BoldItalic.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-ExtraBold.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-ExtraBoldItalic.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-Italic.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-Light.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-LightItalic.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-Medium.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-MediumItalic.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-Regular.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-SemiBold.ttf
Binary file not shown.
Binary file added theme/fonts/Rubik-SemiBoldItalic.ttf
Binary file not shown.
98 changes: 98 additions & 0 deletions theme/fonts/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Light.ttf) format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Light.ttf) format('truetype');
font-weight: 300;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Regular.ttf) format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Regular.ttf) format('truetype');
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Medium.ttf) format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Medium.ttf) format('truetype');
font-weight: 500;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-SemiBold.ttf) format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-SemiBold.ttf) format('truetype');
font-weight: 600;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Bold.ttf) format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Bold.ttf) format('truetype');
font-weight: 700;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-ExtraBold.ttf) format('truetype');
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-ExtraBold.ttf) format('truetype');
font-weight: 800;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Black.ttf) format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Rubik';
src: url(/fonts/Rubik-Black.ttf) format('truetype');
font-weight: 900;
font-style: italic;
font-display: swap;
}
504 changes: 366 additions & 138 deletions theme/index.hbs

Large diffs are not rendered by default.

0 comments on commit 8d804c2

Please sign in to comment.