-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
138 lines (119 loc) · 2.67 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
138
/* General Styles */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #fbebdb;
zoom: 1.5; /* 1.0 is the default, 1.2 is 120% zoom */
}
/* App Bar (Navbar) Styles */
.app-bar {
background-color: #d89298;
color: white;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.app-bar .logo {
font-size: 24px;
font-weight: bold;
}
.nav-links {
display: flex;
gap: 20px;
}
footer {
background-color: #d89298;
padding: 20px;
text-align: center;
}
.nav-links a {
color: white;
text-decoration: none;
font-size: 18px;
padding: 5px 10px;
transition: background-color 0.3s ease;
}
.scan-button{
color: white;
background-color: #88cabc;
}
.nav-links a:hover, .nav-links a:active {
background-color: #b64d57;
border-radius: 5px;
}
/* Home Page Content Styles */
.home-content {
display: flex;
align-items: center;
justify-content: center;
padding: 50px;
text-align: left;
}
.image-container {
width: 40%;
display: flex;
justify-content: center;
}
.image-container img {
width: 80%; /* Adjust image size */
max-width: 400px;
}
.text-container {
width: 50%;
padding: 0 20px;
}
.text-container h1 {
font-size: 36px;
color: #d89298;
}
.text-container p {
font-size: 18px;
color: #333;
}
.cta-button {
background-color: #d89298;
color: white;
border: none;
padding: 15px 25px;
font-size: 18px;
margin-top: 20px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.cta-button:hover {
background-color: #b64d57;
}
.image-container {
display: flex;
justify-content: center;
align-items: center;
margin: 20px;
}
.image-container img {
width: 300px;
height: 800px; /* Set the initial width of the image */
height: auto;
transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition effect */
border-radius: 8px; /* Optional: Rounded corners */
}
/* Hover effect */
.image-container img:hover {
transform: scale(1.1); /* Scale the image up */
opacity: 0.9; /* Slightly reduce the opacity */
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Add a shadow effect */
}
/* Logo styles */
.logo {
display: flex;
align-items: center;
}
.logo-image {
width: 50px;
height: 50px;
transition: transform 0.3s ease, opacity 0.3s ease;
}
.logo-image:hover {
transform: scale(1.1); /* Slightly increase the size on hover */
opacity: 0.8; /* Reduce opacity for hover effect */
}