blob: 600c2b5c26cf80597f569ea7888da5dab1e928fb (
plain) (
blame)
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
|
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;
flex-flow: row wrap;
justify-content: space-between;
}
#comments h1 {
cursor: pointer;
}
#comments h1:hover {
opacity: 0.8;
}
#comments .edit-btn,
#comments .delete-btn,
#comments .add-btn {
cursor: pointer;
}
#comments .edit-btn:hover,
#comments .delete-btn:hover,
#comments .add-btn:hover {
opacity: 0.8;
}
#comments #add-div {
justify-content: center;
}
#comments #add-div div {
width: 100%;
}
#comments #add-div div textarea {
width: 100%;
height: 80%;
}
|