-
Notifications
You must be signed in to change notification settings - Fork 0
/
documentation.css
133 lines (113 loc) · 1.86 KB
/
documentation.css
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
html {
scroll-behavior: unset;
}
.body-container {
display: grid;
grid-template-areas: "side-menu main ";
grid-gap: 0.1rem;
font-family: "Roboto", sans-serif;
background-color: var(--secondary-color-two);
}
.heading {
display: none;
grid-area: nav;
}
.logo-container {
width: 2rem;
}
.brand-container {
display: flex;
flex-direction: row;
}
.side-menu {
grid-area: side-menu;
width: 20vw;
position: sticky;
top: 0;
height: 100vh;
overflow-y: auto;
}
.side-menu a {
margin: auto;
}
.side-menu ul {
padding: 1rem;
}
.main-container {
grid-area: main;
padding: 1rem;
overflow-x: hidden;
}
.component-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding: 0.5rem;
gap: 0.5rem;
}
.component-section {
display: flex;
flex-direction: column;
padding: 1rem;
}
.code-snippet {
padding-top: 1rem;
margin: auto;
}
.component-container img {
margin-top: 1rem;
}
.modalNav li {
display: grid;
place-items: center;
}
.demo-navbar {
z-index: 0;
}
.side-menu .nav-bar {
border-radius: 0 0 0.5rem 0;
}
/* hide gist footer */
.gist .gist-meta {
display: none;
}
.font-large {
font-size: x-large;
}
@media only screen and (max-width: 768px) {
/* For Mobile: */
.side-menu {
display: none;
}
.body-container {
grid-template-areas:
"nav"
"main ";
}
.heading {
display: initial;
position: sticky;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.code-snippet {
padding-top: 1rem;
margin: unset;
}
.modal-content {
width: 100%;
height: 100%;
padding-top: 5rem;
border-radius: 0;
display: grid;
place-items: center;
}
.modal {
z-index: 9;
padding-top: 0;
}
}