-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (87 loc) · 2.04 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Lexend:wght@100..900&display=swap');
* {
margin: 0;
padding: 0;
font-family: "Lexend";
}
body {
text-align: center;
padding: 2rem;
min-height: 100vh;
background: linear-gradient(180deg, #ba00f9 0%, #1bbaff 98%);
color: #FFFF;
}
h2 {
margin-bottom: 1rem;
}
#multiplication-form {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
max-width: 300px;
margin: 1rem auto;
padding: 1rem;
background-color: #340057;
border-radius: 1rem;
color: #FFFF;
}
#form-control {
display: flex;
flex-direction: column;
align-items: center;
width: 100px;
margin: 0 1rem;
}
#form-control label {
margin-bottom: 0.6rem;
font-size: 0.8rem;
font-weight: bold;
}
#form-control input {
margin-bottom: 1rem;
flex: 1;
padding: 0.6rem 0.4rem;
border: 2px solid #1bbaff;
width: 50px;
border-radius: 5px;
text-align: center;
}
#multiplication-form input[type="submit"] {
max-height: 50px;
padding: 0.6rem 1.2rem;
width: 200px;
color: #1bbaff;
background-color: #000000;
border: 2px solid #1bbaff;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
font-size: 15px;
}
#multiplication-operations {
display: flex;
flex-direction: column;
align-items: center;
max-width: 300px;
margin: 1rem auto;
padding: 2rem 1rem;
background-color: #340057;
color: #ffffff;
border-radius: 1rem;
}
#multiplication-operations .row {
display: flex;
justify-content: center;
border: 1px solid #ccc;
border-bottom: none;
padding: 0.5rem;
width: 150px;
}
#multiplication-operations .row:last-child {
border-bottom: 1px solid #ccc;
}
#multiplication-operations .result {
margin-left: 0.4rem;
}