Skip to content

Commit

Permalink
Corrected button size in the gamerules page (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
VijaySamant4368 authored Aug 9, 2024
1 parent 5e710d8 commit 83cb117
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions css/gamerules.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,29 @@ body {
border-color: #080126;
}

.random-button {
border: solid 0.1rem var(--border-color1);
border-radius: 0.6rem;
height: calc((100%) / 1.8);
width: auto;
text-align: center;
padding: 0.5rem;
font-family: "Roboto Mono", monospace;
font-weight: bold;
font-size: 1.1rem;
color: var(--primary-color);
background-color: var(--theme-color3);
transition: box-shadow 0.3s ease, transform 0.2s ease;
margin: 0 0.5rem; /* Add margin to separate buttons */
}
.random-button:hover {
box-shadow: 0.1rem 0.1rem 0.2rem var(--shadow-color2);
}
.random-button:active {
box-shadow: 0.1rem 0.1rem 0.2rem var(--shadow-color2);
transform: translateY(0.1rem);
}

@keyframes colorChange {
0% {
color: #3c0654; /* Initial color */
Expand Down

0 comments on commit 83cb117

Please sign in to comment.