-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathcustom.css
More file actions
61 lines (53 loc) · 1.7 KB
/
custom.css
File metadata and controls
61 lines (53 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
/**
* Enable tailwindcss, preflight styles from tailwind are removed to avoid conflicts.
*/
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--ifm-color-primary: #7497f7;
--ifm-color-primary-dark: #5d7cd2;
--ifm-color-primary-darker: #4c66ad;
--ifm-color-primary-darkest: #3c5088;
--ifm-color-primary-light: #99b3f9;
--ifm-color-primary-lighter: #bdcefb;
--ifm-color-primary-lightest: #dbe4fd;
--ifm-code-font-size: 95%;
}
.docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.1);
display: block;
margin: 0 calc(-1 * var(--ifm-pre-padding));
padding: 0 var(--ifm-pre-padding);
}
html[data-theme='dark'] .docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.3);
}
@layer components {
.primary-button {
@apply bg-primary hover:bg-primary-light;
@apply flex items-center justify-center w-fit;
@apply hover:no-underline hover:text-neutral-invert;
@apply text-neutral-invert text-[14px] leading-[1.21] font-bold lg:text-heading2stream;
@apply px-4 h-5 lg:px-5 lg:h-7;
@apply rounded-[4.9px] lg:rounded-[10px];
@apply shadow-sm shadow-primary/20 lg:shadow-lg lg:shadow-primary/20;
}
.section-title {
@apply text-heading2stream mb-5;
@apply text-neutral-600 font-semibold;
@apply lg:text-[40px] lg:leading-[1.2] lg:mb-6;
}
.floating-link-icon {
transition: transform 0.2s ease-in-out;
}
.floating-link:hover .floating-link-icon {
@apply transform translate-x-1;
}
}