User:Naomi/common.css: Difference between revisions

From Dune: Awakening Community Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:
/* Front page */
/* Front page */
#main-page.main-page {
#main-page.main-page {
display: grid;
  display: grid;
grid-template-areas: "a" "b" "c";
  grid-template-areas: "a" "b" "c";
grid-template-columns: 1fr;
  grid-template-columns: 1fr;
grid-gap: 2px;
  grid-gap: 2px;
}
}
@media screen and (min-width:990px) {
@media screen and (min-width:990px) {
#main-page.main-page {
  #main-page.main-page {
grid-template-areas: "a a" "b c";
    grid-template-areas: "a a" "b c";
grid-template-columns: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
}
  }
}
}


#fp-1 {
#fp-1 {
grid-area: a;
  grid-area: a;
}
}


#fp-2 {
#fp-2 {
grid-area: b;
  grid-area: b;
}
}


#fp-3 {
#fp-3 {
grid-area: c;
  grid-area: c;
}
}


/* Front page item styling */
/* Front page item styling */
.fp-section {
.fp-section {
background-color: #FCFCFC;
  background-color: #FCFCFC;
border: 1px solid #CCC;
  border: 1px solid #CCC;
vertical-align: top;
  vertical-align: top;
margin: 1px;
  margin: 1px;
}
}

Revision as of 17:29, 29 February 2024

/* Font Styling*/
body {
  font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif;
}

/* Colour variables to make life easier */
:root {
  --nav-bg: #FFF;
  --nav-border: #CCC;
  --nav-header: #CCC;
  --nav-sec-header: #DDD;
  --nav-ter-header: #EEE;
  --nav-section: #EEE;
}

body.wgl-theme-dark {
  --nav-bg: #333;
  --nav-border: #444;
  --nav-header: #111;
  --nav-sec-header: #181818;
  --nav-ter-header: #222;
  --nav-section: #222;
}


/* Front page */
#main-page.main-page {
  display: grid;
  grid-template-areas: "a" "b" "c";
  grid-template-columns: 1fr;
  grid-gap: 2px;
}

@media screen and (min-width:990px) {
  #main-page.main-page {
    grid-template-areas: "a a" "b c";
    grid-template-columns: repeat(2, 1fr);
  }
}

#fp-1 {
  grid-area: a;
}

#fp-2 {
  grid-area: b;
}

#fp-3 {
  grid-area: c;
}

/* Front page item styling */
.fp-section {
  background-color: #FCFCFC;
  border: 1px solid #CCC;
  vertical-align: top;
  margin: 1px;
}