-
Notifications
You must be signed in to change notification settings - Fork 646
Expand file tree
/
Copy pathstyles.module.css
More file actions
103 lines (86 loc) · 1.7 KB
/
styles.module.css
File metadata and controls
103 lines (86 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* stylelint-disable docusaurus/copyright-header */
/**
* CSS files with the .module.css suffix will be treated as CSS modules
* and scoped locally
*/
.heroBanner {
padding: 2rem 0;
text-align: center;
position: relative;
overflow: hidden;
}
@media screen and (max-width: 966px) {
.heroBanner {
padding: 2rem;
}
}
.buttons {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.features {
margin-top: 57px;
display: flex;
align-items: center;
padding: 2rem 0;
width: 100%;
}
.featureImage {
height: 100px;
width: 100px;
}
.youtubeVideo {
margin-top: 20px;
width: 560px;
height: 315px;
}
/* Announcement banner */
:root {
--docusaurus-announcement-bar-height: auto !important;
}
div[class^="announcementBarContent"] {
line-height: 40px;
font-size: 20px;
font-weight: bold;
padding: 8px 30px;
}
div[class^="announcementBarContent"] a {
text-decoration: underline;
display: inline-block;
color: var(--ifm-color-primary-lightest) !important;
}
div[class^="announcementBarContent"] a:hover {
color: var(--brand) !important;
}
@media only screen and (max-width: 768px) {
.announcement {
font-size: 18px;
}
.youtubeVideo {
width: calc(560px / 1.5);
height: calc(315px / 1.5);
}
}
@media only screen and (max-width: 500px) {
.announcement {
font-size: 15px;
line-height: 22px;
padding: 6px 30px;
}
}
/* (e.g. iPhone 5) */
@media only screen and (max-width: 400px) {
.youtubeVideo {
width: calc(560px / 1.8);
height: calc(315px / 1.8);
}
}
/* (e.g. Galaxy Fold) */
@media only screen and (max-width: 300px) {
.youtubeVideo {
width: calc(560px / 2.2);
height: calc(315px / 2.2);
}
}