Skip to content

Commit 360fd48

Browse files
committed
add: part of styles
1 parent bac42c1 commit 360fd48

File tree

3 files changed

+86
-30
lines changed

3 files changed

+86
-30
lines changed

src/css/custom.css

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/scss/breakpoints.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Breakpoints
2+
$sm-screen: 640px;
3+
$md-screen: 768px;
4+
$lg-screen: 1024px;
5+
$xl-screen: 1280px;
6+
$xxl-screen: 1536px;

src/scss/custom.scss

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
/**
2+
* Any CSS included here will be global. The classic template
3+
* bundles Infima by default. Infima is a CSS framework designed to
4+
* work well for content-centric websites.
5+
*/
6+
7+
/* You can override the default Infima variables here. */
8+
:root {
9+
--ifm-font-family-base: 'Inter', sans-serif;
10+
11+
--ifm-navbar-background-color: transparent;
12+
// --ifm-background-color: #eff8fe !important;
13+
--ifm-color-primary: #0276c6;
14+
--ifm-color-primary-dark: #026ab2;
15+
--ifm-color-primary-darker: #0264a8;
16+
--ifm-color-primary-darkest: #01538b;
17+
--ifm-color-primary-light: #0282da;
18+
--ifm-color-primary-lighter: #0288e4;
19+
--ifm-color-primary-lightest: #0899fd;
20+
--color-secondary: #343f52;
21+
--ifm-navbar-link-color: var(--color-secondary);
22+
23+
--ifm-code-font-size: 95%;
24+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
25+
}
26+
27+
/* For readability concerns, you should choose a lighter palette in dark mode. */
28+
[data-theme='dark'] {
29+
--ifm-background-color: #151f32 !important;
30+
--ifm-card-background-color: #18273f;
31+
--ifm-color-primary: #0276c6;
32+
--ifm-color-primary-dark: #026ab2;
33+
--ifm-color-primary-darker: #0264a8;
34+
--ifm-color-primary-darkest: #01538b;
35+
--ifm-color-primary-light: #0282da;
36+
--ifm-color-primary-lighter: #0288e4;
37+
--ifm-color-primary-lightest: #0899fd;
38+
--color-secondary: #8094b6;
39+
--ifm-navbar-link-color: var(--color-secondary);
40+
41+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
42+
}
43+
44+
* {
45+
line-height: 1.5;
46+
}
47+
48+
body::before {
49+
content: '';
50+
position: absolute;
51+
left: -50vw;
52+
top: -50vw;
53+
width: 100vw;
54+
height: 100vw;
55+
background: radial-gradient(
56+
ellipse at center,
57+
rgba(2, 118, 198, 30%) 0%,
58+
transparent 50%
59+
);
60+
}
61+
62+
a {
63+
font-weight: 500;
64+
}
65+
66+
.navbar {
67+
backdrop-filter: blur(10px);
68+
-webkit-backdrop-filter: blur(10px);
69+
}
70+
71+
.card {
72+
&__title {
73+
font-size: 1.25rem;
74+
}
75+
76+
&__body {
77+
font-size: 0.875rem;
78+
color: var(--color-secondary);
79+
}
80+
}

0 commit comments

Comments
 (0)