-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspare.css
119 lines (64 loc) · 1.38 KB
/
spare.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
/* This div is so that the background colour stays in the view port event if the screen is extended due to viewport resizing issues */
.backgroundColour {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #F0F2F5;
z-index: -999;
}
.calendarPage {
width: 100vw;
height: 100vh;
}
.contentContainer {
display: flex;
height: 100%;
}
.mainContent {
flex: 9;
margin: 30px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.sidebarContent {
flex: 3.5;
margin: 30px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.flexText {
display: flex;
}
/* .testText {
} */
/*
.groupName {
margin-bottom: 30px;
display: flex;
justify-content: center;
}
.largeFont {
font-weight: 600;
font-size: 30px;
} */
@media (max-width: 1024px) {
.contentContainer {
display: initial;
/* By getting rid of display: flex, the sidebar will now go under the mainContent div because they're both div's which are block elements. */
}
.mainContent {
padding-top: 55px;
box-sizing: border-box;
height: calc(100% - 55px);
/* Making space for the topbar */
}
}
@media (max-width: 540px) {
.largeFont {
font-size: 26px;
}
}