-
Notifications
You must be signed in to change notification settings - Fork 0
/
style3.css
87 lines (74 loc) · 1.8 KB
/
style3.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
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
/* General styles with background image and red linear gradient */
body {
font-family: Arial, sans-serif;
background: linear-gradient(135deg, rgba(255, 0, 0, 0.5), rgba(255, 78, 80, 0.5)),
url('Barber_Shop_img/OIP\ \(3\).jpeg') no-repeat center center fixed;
background-size: cover;
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
/* Flex container for content */
.content-container {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
max-width: 350px;
height: 60vh;
text-align: center;
background-color: rgba(255, 238, 238, 0.8);
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}
/* Sensor Data heading */
h1 {
margin-bottom: 20px;
color: #333;
}
/* Transparent table styles */
table {
width: 100%;
border-collapse: collapse;
background-color: rgba(255, 255, 255, 0.2); /* Transparent table background */
}
table, th, td {
border: 1px solid rgba(0, 0, 0, 0.3); /* Slightly transparent border */
}
th, td {
padding: 10px;
text-align: center;
}
th {
background-color: rgba(255, 255, 255, 0.4); /* Transparent header background */
color: #333;
}
td {
background-color: rgba(255, 255, 255, 0.2); /* Transparent cell background */
color: #333;
}
/* Back button styling */
.cta-button {
display: inline-block;
padding: 10px 20px;
font-size: 16px;
text-decoration: none;
color: white;
background-color: #007bff;
border-radius: 5px;
margin-top: 20px;
}
.cta-button:hover {
background-color: #0056b3;
}