Skip to content

Commit

Permalink
change style in max-width 1280
Browse files Browse the repository at this point in the history
  • Loading branch information
SarabjitS committed Nov 5, 2023
1 parent ccb7841 commit 9006bd6
Showing 1 changed file with 3 additions and 37 deletions.
40 changes: 3 additions & 37 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ h1 {
"btn board tutorial"
"accordion board tutorial";
margin: 0rem auto;
justify-content: center;

max-width: 125rem;
/* min-height: 40%; */
Expand Down Expand Up @@ -574,30 +575,15 @@ li:nth-child(even) {

/* xl */
@media (max-width: 1280px) {
body {
background-image: var(--background);
}

.mega-container {
margin: 0 auto;
padding: 15rem 0rem;
max-width: 100%;
justify-content: center;
grid-template-columns: 32rem 48rem;
grid-template-columns: 36rem 48rem;
grid-template-rows: 4rem 1fr 40rem;
grid-template-areas:
"btn board"
"accordion board"
"tutorial tutorial";
column-gap: 10rem;
}

.choose-opening {
grid-column: 1/2;
}

.extended-chess-board {
min-width: 48rem;
gap: 10rem;
}

.chess-board {
Expand All @@ -610,20 +596,6 @@ li:nth-child(even) {
height: 6rem;
}

.container3 {
flex-direction: column;
}

.font-large {
font-size: 3rem;
}

.font-medium,
.accordion-body,
.accordion-button {
font-size: 1.75rem;
}

.tutorial {
min-width: 40rem;
grid-column-start: 2;
Expand Down Expand Up @@ -655,12 +627,6 @@ li:nth-child(even) {
grid-column: 1/2;
}

.extended-chess-board {
min-width: 36rem;
/* margin-top: 5rem; */
/* padding: 5rem; */
}

.chess-board {
display: grid;
border-radius: 0.5rem;
Expand Down

0 comments on commit 9006bd6

Please sign in to comment.