-
Notifications
You must be signed in to change notification settings - Fork 7
/
style.css
75 lines (66 loc) · 1.24 KB
/
style.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
@import './Components/u-and-i-v2.css';
@import './Docsite-css/docsite-codeDisplay.css';
@import './Docsite-css/docsite-component-display.css';
@import './Docsite-css/docsite-footer.css';
@import './Docsite-css/docsite-nav.css';
@import './Docsite-css/docsite-sidebar.css';
html {
scroll-behavior: smooth;
}
:root {
--docSite-sec-color: #e6e6e6;
}
* {
margin: 0;
font-family: 'Roboto', sans-serif;
box-sizing: border-box;
word-wrap: break-word;
}
.main {
padding: 1rem 3rem;
grid-area: main;
width: 100%;
box-sizing: border-box;
max-width: 100vw;
}
.body-container {
margin-bottom: 1.5rem;
}
.grid-container-pagelayout {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
grid-template-areas:
'header header header header header'
'sidebar main main main main'
'sidebar main main main main'
'sidebar main main main main';
margin-bottom: 1.5rem;
}
hr {
margin: 3rem 0 2rem;
}
h2 {
padding-top: 1rem;
}
.spacer-2rem {
height: 2rem;
width: 100%;
}
@media screen and (max-width: 1024px) {
.main {
padding: 1rem 1.625rem;
}
.grid-container-pagelayout {
grid-template-columns: 1fr;
grid-template-areas:
'header'
'sidebar'
'main';
}
body {
width: 100vw;
}
.grid-container-pagelayout {
width: 100%;
}
}