-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
95 lines (80 loc) · 1.31 KB
/
main.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
html,
body {
height: 100%;
margin: 0;
}
.notes {
display: flex;
height: 100%;
}
.notes * {
font-family: sans-serif;
}
.notes__sidebar {
border-right: 2px solid #dddddd;
flex-shrink: 0;
overflow-y: auto;
padding: 1em;
width: 300px;
}
.notes__add {
background: #009578;
border: none;
border-radius: 7px;
color: #ffffff;
cursor: pointer;
font-size: 1.25em;
font-weight: bold;
margin-bottom: 1em;
padding: 0.75em 0;
width: 100%;
}
.notes__add:hover {
background: #00af8c;
}
.notes__list-item {
cursor: pointer;
}
.notes__list-item--selected {
background: #eeeeee;
border-radius: 7px;
font-weight: bold;
}
.notes__small-title,
.notes__small-updated {
padding: 10px;
}
.notes__small-title {
font-size: 1.2em;
}
.notes__small-body {
padding: 0 10px;
}
.notes__small-updated {
color: #aaaaaa;
font-style: italic;
text-align: right;
}
.notes__preview {
display: flex;
flex-direction: column;
padding: 2em 3em;
flex-grow: 1;
}
.notes__title,
.notes__body {
border: none;
outline: none;
width: 100%;
}
.notes__title {
font-size: 3em;
font-weight: bold;
}
.notes__body {
flex-grow: 1;
font-size: 1.2em;
line-height: 1.5;
margin-top: 2em;
resize: none;
}