-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
77 lines (73 loc) · 1.55 KB
/
main.css
File metadata and controls
77 lines (73 loc) · 1.55 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
@font-face /* Дословный перевод: лицо шрифта, добавляет шрифт в программу*/
{
font-family: Rubik;
src: url("Rubik.ttf");
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
border-radius: 10px;
background-color: #f2f2f2;
}
h1 {
margin-bottom: 20px;
font-family: Rubik;
font-size: 24px;
}
input {
margin-bottom: 10px;
padding: 10px;
width: 200px;
text-align: center;
font-family: Rubik;
font-size: 12px;
}
#output {
margin-bottom: 10px;
padding: 10px;
width: 200px;
text-align: center;
background-color: #fff;
border: none;
border-radius: 5px;
}
#calculateBtn {
padding: 10px 20px;
border: none;
border-radius: 5px;
background-color: rgb(0, 0, 255);
color: white;
cursor: pointer;
}
#calculateBtn:disabled {
background-color: rgb(128,128,128);
}
.page-navigation {
display: flex;
justify-content: center;
}
.page-navigation button {
padding: 5px 10px;
margin: 0 5px;
border: none;
border-radius: 5px;
cursor: pointer;
font-family: Rubik;
font-size: 14px;
}
.activeButton {
background-color: rgb(0, 0, 255);
color: white;
}
.inactiveButton {
background-color: rgb(128,128,128);
color: black;
}