User:Naomi/common.css

From Dune: Awakening Community Wiki
Revision as of 15:54, 29 February 2024 by Naomi (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}


/* Main 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-section {
	background-color: #FCFCFC;
	border: 1px solid #ccc;
	vertical-align: top;
	margin: 1px;
}

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

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

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

#fp-header.fp-header {
	display: grid;
	grid-template-areas: "aa" "ac" "ab";
	grid-template-columns: 1fr;
}
@media screen and (min-width:990px) {
	#fp-header.fp-header {
		grid-template-areas: "aa ab" "ac ac";
		grid-template-columns: 335px 1fr;
	}
}
@media screen and (min-width:1350px) {
	#fp-header.fp-header {
		grid-template-columns: 1fr 2fr;
	}
}

#fp-header-file {
	grid-area: aa;
}

#fp-header-links {
	grid-area: ab;
}

#fp-header-text {
	grid-area: ac;
}

#fp-header-file {
	margin: auto;
}
@media screen and (min-width:990px) {
	#fp-header-file {
		margin: auto 0;
	}
}

#fp-header-links {
	margin: auto 0;
}

#fp-header-links ul {
	-ms-columns: 160px;
	-moz-columns: 160px;
	-webkit-columns: 160px;
	columns: 160px;
	-ms-column-count: 3;
	-moz-column-count: 3;
	-webkit-column-count: 3;
	column-count: 3;
	margin-top: 0;
}