-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (97 loc) · 1.72 KB
/
style.css
File metadata and controls
116 lines (97 loc) · 1.72 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
106
107
108
109
110
111
112
113
114
115
116
/* style.css*/
/* Style to body tag*/
body {
display: flexbox;
text-align: center;
align-items: center;
}
/* Style to expense summary */
.summary {
width: 25rem;
display: flex;
flex-direction: column;
text-align: center;
margin: auto;
margin-bottom: 40px;
padding: 1%;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.total {
display: flex;
flex-direction: row;
margin: auto;
}
.total>div {
width: 200px;
}
/* Style for the expense table and input form*/
.root {
width: fit-content;
background-color: white;
display: flex;
margin: auto;
padding: 2%;
padding-top: 1%;
justify-content: center;
text-align: center;
border-width: 6px;
border: 6px grey;
box-sizing: content-box;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
min-height: 30vh;
}
/* Style for the verticle bar*/
.vertical {
color: rgb(35, 35, 106);
margin: 0 2%;
border-width: 2px;
}
/* Style for table*/
#table {
border-collapse: collapse;
width: 50vw;
border: 1px solid #ddd;
font-size: 18px;
}
/* Table */
#table th,
#table td {
text-align: left;
padding: 12px;
}
/* Table row */
#table tr {
border-bottom: 1px solid #ddd;
}
/* Headings*/
#table tr.titles {
background-color: lightgreen;
}
/* Style for each input item */
.inputitem {
display: flex;
flex-direction: row;
font-weight: bolder;
font-size: large;
padding: 1%;
}
input,
select,
option {
padding: 2%;
border-radius: 5px;
margin: 2%;
}
button {
font-size: large;
border-radius: 5px;
padding: 1%;
}
.zoom {
color: black;
transition: transform .2s;
}
.zoom:hover {
transform: scale(1.23);
color: green;
}