-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (105 loc) · 2.06 KB
/
Copy pathstyle.css
File metadata and controls
120 lines (105 loc) · 2.06 KB
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
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background-color: #f0f2f5;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.comment-box {
background: #f7f7f7;
border: 1px solid #ccc;
padding: 40px;
border-radius: 8px;
margin-bottom: 35px;
width: 500px;
}
.comment-box h3 {
margin: 0 0 8px 0;
font-size: 14px;
color: #333;
}
.comment-box input {
box-sizing: border-box;
width: 100%;
padding: 8px;
margin-bottom: 16px;
border: 1px solid #ccc;
border-radius: 4px;
}
.comment-box .submit-button {
background-color: #000;
color: #fff;
border: none;
padding: 7px 10px;
border-radius: 4px;
cursor: pointer;
float: right;
font-weight: bold;
}
.comment-list {
padding: 0;
list-style-type: none;
width: 500px;
}
.comment-item {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #fff;
padding: 16px;
margin-bottom: 12px;
border-left: 4px solid #000;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
transition: all 0.2s ease-in-out;
}
.comment-item:first-child {
border-left-color: red;
}
.comment-item:hover {
background-color: #e6eef4;
box-shadow: 5px 5px 10px #c1c9cf, -5px -5px 10px #ffffff;
}
.comment-content .user-name {
font-weight: bold;
}
.comment-content p {
margin: 4px 0 0;
color: #555;
font-size: 14px;
}
.delete-button {
background-color: #000;
color: #fff;
border: none;
padding: 6px 10px;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
font-size: 12px;
}
.pagination {
width: 500px;
text-align: right;
margin-top: 16px;
}
.pagination button {
padding: 6px 12px;
margin-left: 8px;
border: 1px solid #ccc;
background-color: #fff;
cursor: pointer;
border-radius: 4px;
}
.pagination button:disabled {
background-color: #f0f0f0;
cursor: not-allowed;
color: #aaa;
}
.no-comment {
text-align: center;
color: #888;
padding: 20px;
background: #fafafa;
list-style: none;
}