-
Notifications
You must be signed in to change notification settings - Fork 0
/
style2.css
155 lines (134 loc) · 2.53 KB
/
style2.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
img {
border-style: solid;
}
h1 {
text-align: center;
}
h2 {
text-align: center;
}
ul {
list-style-type:none;
margin: 0;
padding: 0;
overflow: hidden;
background-color:violet;
}
li {
float:left;
}
li a {
display: flex;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration:solid;
font-weight: 1000;
}
.active {
background-color:blueviolet;
}
button {
color: green;
padding: 11px 33px;
text-align: center;
display: inline-block;
font-size: 25px;
background-color: khaki;
border-style: solid;
border-radius: 20px;
}
button:hover span {
color: red;
padding-right: 25px;
}
button:hover span:after {
opacity: 1;
right: 0;
}
button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.4s;
}
button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
body{
background-color: #dfecf7;
}
.container{
max-width: 600px;
margin: 0 auto;
}
.comment-box {
background-color: #fff;
padding: 40px;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.comment-title {
font-size: 36px;
text-align: center;
margin-bottom: 30px;
color: #fff;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
font-size: 18px;
font-weight: bold;
margin-bottom: 5px;
color: #fff;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
width: 100%;
padding: 10px;
border-radius: 5px;
border: none;
font-size: 16px;
transition: background-color 0.3s;
background-color: #f2f2f2;
color: #333;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
background-color: #fff;
}
.btn-submit {
background-color: #005aaa;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
}
.btn-submit:hover {
background-color: #003366;
}
.gradient-bg {
background: linear-gradient(to bottom, #003366, #005aaa);
}
.gradient-bg .btn-submit {
background-color: #fff;
color: #005aaa;
border: 2px solid #fff;
transition: background-color 0.3s, color 0.3s;
}
.gradient-bg .btn-submit:hover {
background-color: #005aaa;
color: #fff;
}