-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (86 loc) · 1.46 KB
/
Copy pathstyles.css
File metadata and controls
105 lines (86 loc) · 1.46 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
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background-color: lightgray;
}
.container{
padding: 3em;
display: flex;
flex-direction: column;
}
div.converter-container{
border: 3px solid black;
padding: 1em;
text-align: center;
}
h1{
padding: 1em 0;
text-align: center;
}
h3{
margin-bottom: 40px;
font-size: 30px;
}
input{
margin-top: 1em;
padding: .5em;
width: 280px;
border: none;
}
#last{
margin-top: 50px;
}
#result{
width: 100%;
max-width: 650px;
margin: 0 auto;
padding: 2em 1em;
text-align: center;
}
button{
padding: 1em 1.5em;
margin-top: 20px;
background-color: orange;
font-size: 1rem;
color: black;
border: none;
}
#result p {
font-size: 30px;
}
#result p span{
color: green;
font-weight: bold;
}
#reset{
text-align: center;
}
#reset-btn{
background-color: transparent;
color: black;
font-weight: bold;
}
#reset-btn:hover{
background-color: red;
color: white;
}
/* MEDIA QUERIES */
@media only screen and (min-width: 1024px) {
#last{
margin-top: 0px;
margin-left: 50px;
}
.container{
display: flex;
flex-direction: row;
justify-content: center;
}
div#convert-pt-to-px,
div#convert-px-to-pt{
padding: 3em;
width: 400px;
}
}