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
125
126
127
128
|
html,
body {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
color: #424242;
line-height: 1.6;
background-color: #eec0c6;
background-image: linear-gradient(315deg, #eec0c6 0%, #7ee8fa 74%);
}
div {
background: white;
}
main {
position: absolute;
max-height: calc(100% - 140px);
overflow-y: auto;
width: 50%;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
padding: 20px;
border-radius: 10px;
background: white;
}
input,
button,
select {
width: 100%;
}
img {
max-width: 80%;
max-height: 80%;
}
@media only screen and (max-width: 600px) {
main {
width: calc(100% - 20%);
}
}
#student-list li {
cursor: pointer;
}
#student-list li:hover {
opacity: 0.8;
}
#user h1 {
cursor: pointer;
}
#user h1:hover {
opacity: 0.8;
}
#comments div {
display: flex;
justify-content: space-between;
}
#comments h1 {
cursor: pointer;
}
#comments h1:hover {
opacity: 0.8;
}
#comments span {
align-self: center;
}
#comments .edit-btn,
#comments .delete-btn,
#comments .add-btn {
cursor: pointer;
width: 50px;
height: 50px;
transition: opacity 0.5s;
}
#comments .edit-btn:hover,
#comments .delete-btn:hover,
#comments .add-btn:hover {
opacity: 0.8;
}
#comments .edit-btn {
background: url(/feather/icons/edit.svg) no-repeat center;
}
#comments .delete-btn {
background: url(/feather/icons/trash.svg) no-repeat center;
}
#comments .add-btn {
background: url(/feather/icons/plus.svg) no-repeat center;
}
#comments #add-div,
#comments #edit-div {
justify-content: center;
flex-flow: row wrap;
margin-top: 24px;
margin-bottom: 24px;
}
#comments #add-div div,
#comments #edit-div div {
width: 100%;
height: 100%;
flex-flow: row wrap;
}
#comments #add-div div textarea,
#comments #edit-div div textarea {
width: 100%;
height: 80%;
margin-bottom: 12px;
}
|