-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
82 lines (68 loc) · 1 KB
/
app.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
body{
padding: 0;
font-family: 'Roboto', sans-serif;
background-color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: auto;
}
h1{
text-transform: capitalize;
color: #A155B9;
}
#container{
text-align:center;
background-color: white;
padding: 1%;
width: 50%;
border-radius: 10px;
}
header{
margin-top: 3%;
}
input[type=text] {
width: 30%;
height: auto;
font-size: 1.1rem;
font-family : inherit;
margin: 2%;
}
#buttoncolour {
cursor: pointer;
width: 30%;
height: auto;
font-size: 1rem;
font-family: inherit;
margin-bottom: 2%;
}
#resultr{
color: red;
}
#resultg{
color: green;
}
#resultb{
color: blue;
}
hr{
width: 70%;
margin-bottom: 5%;
}
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
#container{
padding: 0;
width: 70%;
border-radius: 0;
}
input[type=text] {
width: 60%;
font-size: 0.8rem;
}
#buttoncolour {
width: 60%;
}
}