forked from XiaoLinZeng/rep_zxl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
163 lines (140 loc) · 2.47 KB
/
index.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
* {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
}
ul {
list-style: none;
}
body {
background-color: #E6E6FA;
background-size: cover;
width: 100vw;
height: 100vh;
}
header {
height: 60px;
background-color: rgba(64, 52, 80, 0.4);
display: flex;
justify-content: space-between;
padding: 20px 80px 20px 40px;
}
header div {
position: relative;
left: 80px;
}
header div span {
width: 700px;
position: absolute;
font-size: 40px;
font-weight: 700;
cursor: pointer;
}
header nav a {
height: 40px;
color: #f0f8ff;
display: flex;
justify-content: end;
align-items: center;
cursor: pointer;
transition: 0.2s;
}
header nav a:hover {
color: #574266;
filter: brightness(120%);
}
#mainBox {
display: flex;
justify-content: center;
}
#mainBox li {
width: 800px;
height: 100px;
border-radius: 15px;
margin: 30px;
display: flex;
align-items: center;
position: relative;
border: 1px solid #50187382;
}
#mainBox li:hover {
filter: brightness(110%);
transform: scale(1.05);
transition: 0.15s;
color: #50187382;
}
.info {
height: 80px;
width: 240px;
font-size: 24px;
display: flex;
justify-content: flex-start;
align-items: center;
position: absolute;
left: 20px;
border-right: 2px double #50187382;
}
.info img {
width: 60px;
height: 60px;
border: 2px #deb887dc solid;
border-radius: 100%;
transition: 0.2s;
margin-right: 20px;
}
.info h3 {
font-size: 20px;
color: #50187382;
}
.info .time {
font-size: 12px;
font-weight: 55s0;
color: #50187382;
}
.cont {
position: absolute;
left: 280px;
right: 20px;
text-indent: 2em;
font-size: 14px;
}
.footer {
height: 200px;
display: flex;
justify-content: space-evenly;
align-items: center;
background-color: rgba(0, 0, 0, 1);
}
.cue {
color: #f0f8ff;
font-size: 30px;
font-weight: 100;
display: flex;
flex-direction: column;
}
textarea {
width: 560px;
height: 140px;
font-size: 16px;
font-family: Microsoft YaHei;
text-indent: 2em;
padding: 10px;
box-sizing: border-box;
}
textarea:focus {
outline-color: #50187382;
}
#sendBtn {
color: #f0f8ff;
background-color: black;
border: none;
cursor: pointer;
}
.deleteBtn {
color: #f0f8ff;
background-color: rgb(181, 158, 195);
border: none;
border-radius: 5px;
}