Mudanças entre as edições de "Predefinição:MainPage/styles.css"

De Wiki Gla
Ir para navegação Ir para pesquisar
Etiqueta: Revertido
Linha 3: Linha 3:
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
  gap: 20px;
   width: 100%;
   width: 100%;
   box-sizing: border-box;
   box-sizing: border-box;
Linha 9: Linha 8:


.menu-col {
.menu-col {
   flex: 1;
   flex-basis: 60%;
   min-width: 400px;
   max-width: 60%;
}
}


.side-col {
.side-col {
   flex: 0 0 300px;
   flex-basis: 30%;
  max-width: 30%;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
}
.home-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
  background: #fff;
}
.home-title {
  text-align: center;
  display: block;
  font-size: 1.75em;
  font-weight: bold;
  background: linear-gradient(to bottom, #459cca, #5684c8);
  color: white;
  border-radius: 8px 8px 0 0;
  margin: 0;
  position: relative;
  padding: 3px;
}
}


@media (max-width: 1024px) {
@media (max-width: 1024px) {
   .menu-col,
   .menu-col,
   .side-col {
   .side-col {
     flex: 1 1 100%;
     flex-basis: 100%;
     min-width: 100%;
     max-width: 100%;
   }
   }
}
}

Edição das 17h52min de 5 de maio de 2025

/** MENU/ÍNDICE/CHANGELOG/EVENTOS **/
.homepage-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.menu-col {
  flex-basis: 60%;
  max-width: 60%;
}

.side-col {
  flex-basis: 30%;
  max-width: 30%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .menu-col,
  .side-col {
    flex-basis: 100%;
    max-width: 100%;
  }
}