-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.css
124 lines (103 loc) · 1.68 KB
/
App.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
* {
margin: 0;
padding: 0;
}
body {
background: #f8fafc;
}
.card {
padding: 1rem;
}
.row {
margin-bottom: 1rem;
}
.react-calendar {
margin: auto;
width: 100%;
border: 1px solid rgba(0, 0, 0, 0.125);
margin-bottom: 1rem;
}
header {
margin: auto;
font-weight: 700;
background: linear-gradient(130deg, #3c91e7 0, #78378c 100%);
text-align: center;
font-size: 35px;
margin-bottom: 1rem;
color: #ffffff;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
footer {
color: rgb(255, 255, 255);
background-color: rgb(40, 44, 52);
height: 100px;
margin: auto;
text-align: center;
line-height: 100px;
}
.react-calendar__navigation__label {
font-weight: bold;
}
.notes-wrapper .note {
width: 99%;
max-width: 99%;
}
.App {
overflow-x: hidden;
overflow-y: auto;
}
@media screen and (max-width: 1200px) {
.App {
text-align: left;
margin: auto;
width: 95%;
}
header {
height: 60px;
line-height: 60px;
}
.react-calendar {
margin-bottom: 1rem;
}
.App {
height: calc(100vh - 136px);
}
footer {
height: 60px;
line-height: 60px;
}
}
@media screen and (max-width: 900px) {
.add-note-wrapper {
margin-bottom: 1rem;
}
}
@media screen and (min-width: 1200px) {
.App {
text-align: left;
margin: auto;
width: 70%;
}
header {
height: 100px;
line-height: 100px;
}
.App {
height: calc(100vh - 216px);
}
footer {
height: 100px;
line-height: 100px;
}
}
.notes-wrapper {
overflow-x: hidden;
overflow-y: auto;
height: 344px;
min-height: 344px;
max-height: 344px;
padding: 1rem;
}
.notes-wrapper .note {
max-height: 100px;
}