-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (83 loc) · 1.38 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #eeeeee;
}
h1 {
text-align: center;
margin-bottom: 50px;
}
.container {
max-width: 824px;
margin: 0 auto;
padding: 40px 24px;
}
.row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.svg-box {
width: calc(50% - 24px);
padding: 24px 24px 0;
border: 1px solid #eaeaea;
margin: 0 auto 24px;
background-color: #fff;
}
.btn-draw,
.btn-erase {
background-color: transparent;
border: 0;
outline: none;
font-weight: 500;
text-transform: uppercase;
padding: 16px 24px;
border: 1px solid #e3e3e3;
cursor: pointer;
transition: 0.3s ease;
margin-bottom: 8px;
color: #000000;
}
.btn-draw:hover,
.btn-erase:hover {
border: 1px solid #000000;
}
.btn-erase {
opacity: 0.5;
cursor: not-allowed;
}
.active .btn-draw {
opacity: 0.5;
cursor: not-allowed;
}
.active .btn-erase {
opacity: 1;
cursor: pointer;
}
.svg-box svg {
width: 100%;
}
.action {
padding: 24px;
border-top: 1px solid #eaeaea;
border-left: 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-around;
margin-left: -24px;
margin-right: -24px;
}
@media (max-width: 575.98px) {
h1 {
font-size: 24px;
}
.svg-box {
width: calc(100% - 24px);
}
}