Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
chaturadissanayake authored Sep 27, 2024
1 parent df38ea7 commit d64fc46
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,12 @@ body {
.container {
max-width: 800px;
margin: 50px auto;
text-align: center;
position: relative;
background-color: rgba(0, 0, 0, 0.9); /* Darker transparency for background visibility */
padding: 20px;
border-radius: 10px;
text-align: center;
color: #fff;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
z-index: 1;
}

.container::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6); /* This will control the opacity */
border-radius: 10px; /* Apply same border radius */
z-index: -1; /* Make sure the background layer is behind the content */
}

h1 {
Expand All @@ -69,8 +56,8 @@ h1 {
text-align: center;
line-height: 50px;
font-size: 24px;
font-weight: 400; /* Set to medium weight */
color: #000000;
font-weight: 500; /* Changed to medium font weight */
color: #000;
margin: 20px 0;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
Expand All @@ -97,7 +84,6 @@ h1 {
line-height: 40px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
}

.seat.selected {
Expand Down Expand Up @@ -143,7 +129,6 @@ h1 {
background-color: #e74c3c;
}

/* Summary section */
.summary {
margin-top: 20px;
font-size: 18px;
Expand All @@ -159,7 +144,6 @@ h1 {
cursor: pointer;
margin: 0 auto;
display: block;
transition: background-color 0.3s;
}

.btn:hover {
Expand Down

0 comments on commit d64fc46

Please sign in to comment.