Skip to content

Commit

Permalink
Merge pull request #5 from dumspice/dum
Browse files Browse the repository at this point in the history
Update style.css
  • Loading branch information
CodingHusk3y authored Feb 20, 2024
2 parents 4d33a7b + 3b009e0 commit b5b1e02
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ html {
#theme-button {
text-decoration: underline;
/* Example: adds underline to the text */
font-family: 'Arial', sans-serif;
font-family: "Arial", sans-serif;
/* Example: changes font */
color: #ff9900;
/* Example: changes text color */
Expand Down Expand Up @@ -65,7 +65,8 @@ html {
}

/* Style rules for flex-item 1 */
.flex-item:nth-of-type(2) {}
.flex-item:nth-of-type(2) {
}

/* Style rules for flex-item 2 */
.flex-item:nth-of-type(1) {
Expand All @@ -75,7 +76,8 @@ html {
}

/* Style rules for flex-item 3 */
.flex-item:nth-of-type(3) {}
.flex-item:nth-of-type(3) {
}

/* Style set for all flex-items */
.flex-item {
Expand Down Expand Up @@ -110,8 +112,6 @@ html {
margin-bottom: 5px;
}



/* CSS ruleset for the header-button class */
.header-button {
background-color: #007bff;
Expand All @@ -128,7 +128,6 @@ html {
background-color: #0056b3;
}


.image-container {
display: flex;
justify-content: center;
Expand All @@ -137,7 +136,6 @@ html {
/* Use flexbox to arrange images horizontally */
}


/* Apply styles to each image within the container */
.image-container img {
margin-right: 50px;
Expand Down Expand Up @@ -236,6 +234,9 @@ a:active {

.dark-mode {
background-color: black;
}

.dark-mode p {
color: white;
}

Expand Down Expand Up @@ -275,7 +276,12 @@ a:active {
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
background-color: rgba(0,0,0,0.4); /* 40% opacity black - other elements can still be seen */
background-color: rgba(
0,
0,
0,
0.4
); /* 40% opacity black - other elements can still be seen */
flex-direction: column; /* these flexbox rules center the content on the screen */
align-items: center;
justify-content: center;
Expand All @@ -301,4 +307,4 @@ a:active {
flex-direction: column;
align-items: center;
justify-content: center;
}
}

0 comments on commit b5b1e02

Please sign in to comment.