-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
97 lines (77 loc) · 1.71 KB
/
styles.css
File metadata and controls
97 lines (77 loc) · 1.71 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
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');
:root {
--primary-color: #ae29a0;
--secundary-color: #5b3871b3;
--tertiary-color: #5921619c;
}
body {
background-image: url(./assets/pexels-monstera-6238068.jpg);
background-repeat: no-repeat;
height: 500px;
background-position: center;
background-size: cover;
position: relative;
font-size: 16px;
font-family: Lato, sans-serif;
}
#container {
height: 525px;
width: 360px;
margin: 100px auto;
background: #F7F7F7;
box-shadow: 5px 5px 5px var(--tertiary-color);
border-radius: 20px;
}
.intro {
font-size:16px
}
.title {
background: var(--tertiary-color);
color: var(--secondary-color);
padding: 20px;
text-transform: uppercase;
font-size: 20px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
text-align: center;
}
.tipsForm{
padding-left: 20px;
padding-right: 20px;
}
.formInput {
background: white;
width: 40px;
padding: 5px 5px;
}
.formInput:focus {
border: 3px solid var(--primary-color);
outline: none;
}
.formSelect {
background-color: white;
width: 160px;
padding: 5px;
}
.formSelect:focus {
border: 3px solid var(--primary-color);
outline: none;
}
.formSubmit {
text-transform: uppercase;
font-weight: bold;
display: block;
margin: 30px auto;
background-color: var(--primary-color);
border-radius: 25px;
width: 200px;
height: 50px;
font-size: 17px;
color: white;
box-shadow: 2px 3px 2px #3d213a;
}
.totalTip {
text-align: center;
font-size: 18px;
font-weight: bold;
}