-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
137 lines (114 loc) · 3.79 KB
/
styles.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/* ==========================================================================
Base Styles
========================================================================== */
body {
/* Background image for the entire webpage */
background-image: url('https://cdn.wallpaperhub.app/cloudcache/b/d/7/6/4/b/bd764bb25d49a05105060185774ba14cd2c846f7.jpg');
background-repeat: no-repeat;
background-size: cover;
}
/* ==========================================================================
Main Container Styles
========================================================================== */
.main-container-for-columns {
/* Flex container for the three main columns */
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: auto;
height: 100%;
}
/* ==========================================================================
Column Styles
========================================================================== */
.inputs {
/* Styles for the input column (1st column) */
min-width: 0;
max-width: 32%;
text-align: center;
}
.visualization,
.calculated-results {
/* Styles for the visualization and calculated results columns (2nd and 3rd columns) */
min-width: 0;
max-width: 33.33%;
text-align: center;
}
/* ==========================================================================
Generic Section Styles
========================================================================== */
.section {
/* Styles for the sections within the columns */
margin: 3%;
padding: 3%;
background-color: #fff;
border: 1px solid black;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
/* ==========================================================================
Table Styles
========================================================================== */
.results-table {
/* Styles for the results table within the calculated results column */
margin: 3%;
width: 94%;
table-layout: fixed;
}
.results-table tr:nth-child(odd) {
background-color: #d7dee9;
}
.results-table td:first-child {
text-align: left;
}
.results-table td:nth-child(2),
.results-table td:nth-child(3) {
text-align: right;
}
/* Interactive Rows */
.results-table tr:hover {
background-color: #e0e0e0; /* A slightly darker shade for hover effect */
}
/* Styling for Subheadings */
.results-table .subheading {
background-color: #d0d0d0; /* A distinct background color for subheadings */
font-weight: bold;
text-align: center;
}
/* ==========================================================================
Mobile Responsiveness
========================================================================== */
@media (max-width: 768px) {
.main-container-for-columns {
/* Switch to a single column layout on mobile */
flex-direction: column;
width: auto;
}
.inputs,
.visualization,
.calculated-results {
/* Full width for all columns on mobile and adjust padding */
width: 100%;
text-align: left;
}
.results-table {
/* Full width for the results table on mobile */
width: max-content;
}
.inputs {
/* Adjust text alignment for inputs on mobile */
text-align: center;
}
}
/* ==========================================================================
Additional Specific Styles
========================================================================== */
.sheet-wrapper {
/* Styles for the sheet wrapper within the visualization column */
display: flex;
justify-content: center;
align-items: center;
background-color: #fff;
border: 1px solid black;
position: relative;
}