-
-
Notifications
You must be signed in to change notification settings - Fork 133
/
Copy pathstyle.css
107 lines (91 loc) · 2.19 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
100
101
102
103
104
105
106
107
body{
background: #536976; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #292E49, #536976); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #292E49, #536976); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
color:hsl(239, 57%, 33%,10);
font-weight:540;
padding: 40px;
font-family: sans-serif;
font-size: larger;
margin-top: 80px;
width: fit-content;
margin-left: auto;
margin-right: auto;
padding: 10px 40px 10px;
}
h1{
box-sizing: border-box;
background-color: hsl(209, 52%, 31%,0.5);
color: wheat;
border-top:6px solid #022140;
border-top-left-radius: 50px;
border-top-right-radius: 50px;
margin-block-start: 0em;
margin-block-end: 0em;
}
.calculator{
display: flex;
flex-direction: column;
text-align:center;
}
.child-container{
background-color: hsl(0, 0%, 96%,0.5);
padding: 20px 0px 20px;
}
.child-container2{
background: #B993D6; /* fallback for old browsers */
background-color: hsl(0, 0%, 96%,0.5);
height:max-content;
border-bottom-left-radius:50px ;
border-bottom-right-radius:50px ;
border-bottom:6px solid #022140;
padding-bottom: 20px;
}
.container{
padding: 20px 0px 20px;
}
.billTip{
/*box-sizing: border-box;*/
padding: 0 50px;
}
#calcbtn{
padding: 10px;
background-color: hsl(209, 52%, 31%);
font-size: large;
color: whitesmoke;
border-radius: 10px;
border: 2px solid hsl(209, 52%, 31%);
}
.btn{
background-color: hsl(0, 0%, 96%,0.5);
}
.calcinput{
width: 150px;
height: 25px;
border-radius: 5px;
border: 2px solid hsl(209, 52%, 31%);
color: black;
font-weight: bold;
font-size: 15px;
}
.calc {
width: 120px;
height: 25px;
border-radius: 5px;
border: 2px solid hsl(209, 52%, 31%);
color: black;
font-weight: bold;
font-size: 15px;
}
/* For mobile phones: */
[class*="col-"] {
width: 100%;
}
@media only screen and (min-width: 600px) {
/* For tablets: */
.col-s-12 {width: 100%;}
}
@media only screen and (min-width: 1000px) {
/* For desktop: */
.col-12 {width: 100%;}
}