-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.css
More file actions
87 lines (73 loc) · 1.43 KB
/
common.css
File metadata and controls
87 lines (73 loc) · 1.43 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
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url("https://tender-mccarthy-d4aa39.netlify.app/component.css");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Roboto", sans-serif;
}
.grid-container {
display: grid;
grid-template-rows: auto 1fr;
grid-template-areas:
"header header header "
"side content content";
position: relative;
}
.container-fluid {
padding: 8px;
box-shadow: 0px 0px 15px 0px var(--primary-theme-light-color);
z-index: 999;
}
.header-container {
grid-area: header;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: var(--danger-light-color);
position: fixed;
width: 100%;
}
.main-nav-bar {
display: flex;
flex-direction: row;
}
.side-bar-container {
grid-area: side;
position: fixed;
top: 15%;
overflow: auto;
scroll-behavior: smooth;
height: 90vh;
}
.side-bar {
padding: 1.5rem 1rem;
}
.components {
margin: 2px 0;
}
.components:hover {
background-color: var(--dark-theme-shade-80);
}
.active-component {
background-color: var(--danger-light-color);
}
.content {
grid-area: content;
margin-left: 20vw;
margin-top: 8vw;
}
.component-wrapper {
margin: 1rem 0;
border: 1px solid var(--dark-theme-light-color);
}
.code-snippet {
width: 100%;
margin: 1rem auto;
max-height: 20rem;
overflow: auto;
scroll-behavior: smooth;
}