forked from txruno/Scratch-Building-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle_comment.css
More file actions
94 lines (88 loc) · 1.41 KB
/
style_comment.css
File metadata and controls
94 lines (88 loc) · 1.41 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
.c-form {
max-width: 600px;
margin: 0 auto;
}
.c-form__item {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
margin-bottom: 10px;
}
.c-form__label,
.c-form__input {
padding: 5px;
}
.c-form__label {
width: 90%;
}
.c-form__input {
width: 90%;
font-size: 16px;
border: solid 1px #333;
border-radius: 4px;
}
.c-form__input:focus-visible {
outline: #d67ed7 auto 1px;
}
.c-form__required {
color: #fff;
background-color: #d67ed7;
border-radius: 4px;
padding: 5px 5px;
margin: 0 0 0 18px;
}
textarea.c-form__input {
height: 130px;
}
.c-form__submit {
text-align: center;
}
.c-form__submit button {
font-size: 18px;
font-weight: bold;
color: #fff;
background-color: #d67ed7;
border: solid 1px #d67ed7;
border-radius: 4px;
padding: 5px 32px;
transition: 0.4s;
cursor: pointer;
}
.c-form__submit button:hover {
color: #d67ed7;
background-color: transparent;
}
@media (min-width: 640px) {
.c-form__item {
flex-wrap: nowrap;
}
.c-form__label {
width: 40%;
}
.c-form__input {
width: 55%;
}
}
.comment-section {
max-width: 600px;
margin: 20px auto;
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.comment {
margin-bottom: 20px;
padding: 10px;
border-bottom: 1px solid #ddd;
}
.comment p {
margin: 5px 0;
}
.username {
font-weight: bold;
}
.timestamp {
font-size: 12px;
color: #666;
}