Skip to content

Commit a737add

Browse files
Update styleQ7.css
1 parent 24d4ca3 commit a737add

File tree

1 file changed

+22
-30
lines changed

1 file changed

+22
-30
lines changed

templates/styleQ7.css

Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,28 @@
1-
body{
2-
background-color: black;
3-
color: black;
4-
}
5-
.container{
6-
border: 2px solid rgb(252, 239, 239);
7-
margin: 300px auto;
8-
max-width: max-content;
9-
display: flex;
10-
flex-direction: row;
11-
justify-items: center;
12-
13-
}
14-
div, div > input{
15-
padding: 0.5rem;
1+
.card {
2+
width: 320px;
3+
padding: 20px;
4+
background: #f9f9f9;
5+
margin: 20px auto;
6+
border-radius: 8px;
7+
border: 1px solid #ddd;
168
}
179

18-
p{
19-
background-color: red;
20-
color: rgb(248, 244, 244);
21-
font-family: cursive;
22-
margin: auto;
23-
padding: 0.5rem;
24-
display: flex;
25-
justify-content: center;
26-
}
27-
form{
28-
background-color: rgb(248, 244, 244);
10+
input,
11+
button {
12+
width: 100%;
13+
padding: 10px;
14+
margin: 8px 0;
15+
box-sizing: border-box;
2916
}
3017

31-
.l1{
32-
min-width: 50%;
18+
button {
19+
background: #333;
20+
color: #fff;
21+
border: 0;
22+
cursor: pointer;
23+
border-radius: 4px;
3324
}
34-
.l2{
35-
min-width: 100%;
25+
26+
button:hover {
27+
background: #000;
3628
}

0 commit comments

Comments
 (0)