~fabrixxm/sito

5cffd8b6f763a69cf225b3f96f07716d71c8e61d — fabrixxm 2 years ago d331e7d gl98
Win98 theme
M pelicanconf.py => pelicanconf.py +1 -1
@@ 6,7 6,7 @@ AUTHOR = 'Gruppo Linux Como'
SITENAME = 'GL-Como'
SITESUBTITLE = 'Figli orgogliosi del pinguino ;-)'
SITEURL = ''
THEME='themes/glcomo'
THEME = 'themes/gl98'

PATH = 'content'
OUTPUT = 'output'

A themes/gl98/static/css/98.css => themes/gl98/static/css/98.css +513 -0
@@ 0,0 1,513 @@
/**
 * 98.css
 * Copyright (c) 2020 Jordan Scales <thatjdanisso.cool>
 * https://github.com/jdan/98.css/blob/master/LICENSE
 */

:root {
  /* Color */
  --surface: #c0c0c0;
  --button-highlight: #ffffff;
  --button-face: #dfdfdf;
  --button-shadow: #808080;
  --window-frame: #0a0a0a;
  --dialog-blue: #000080;
  --dialog-blue-light: #1084d0;
  --link-blue: #0000ff;

  /* Spacing */
  --element-spacing: 8px;
  --grouped-button-spacing: 4px;
  --grouped-element-spacing: 6px;
  --radio-width: 12px;
  --checkbox-width: 13px;
  --radio-label-spacing: 6px;

  /* Some detailed computations for radio buttons and checkboxes */
  --radio-total-width-precalc: 12px + 6px;
  --radio-total-width: 18px;
  --radio-left: -6px;
  --radio-dot-width: 4px;
  --radio-dot-top: 4px;
  --radio-dot-left: -14px;

  --checkbox-total-width-precalc: 13px +
    6px;
  --checkbox-total-width: 19px;
  --checkbox-left: -7px;
  --checkmark-width: 7px;
  --checkmark-top: 3px;
  --checkmark-left: 3px;

  /* Borders */
  --border-width: 1px;
  --border-raised-outer: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff;
  --border-raised-inner: inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
  --border-sunken-outer: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a;
  --border-sunken-inner: inset -2px -2px #dfdfdf,
    inset 2px 2px #808080;

  /* Field borders (checkbox, input, etc) flip window-frame and button-shadow */
  --border-field: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
}

* {
  font-family: Arial;
  font-size: 12px;
  letter-spacing: -0.03ch;
  -webkit-font-smoothing: none;
  color: #222222;
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

u {
  text-decoration: none;
  border-bottom: 0.5px solid #222222;
}

button {
  box-sizing: border-box;
  border: none;
  background: #c0c0c0;
  box-shadow: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff, inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;

  min-width: 75px;
  min-height: 23px;
  padding: 0 12px;
}

button:active {
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf,
    inset 2px 2px #808080;
}

button:focus {
  outline: 1px dotted #000000;
  outline-offset: -4px;
}

:disabled {
  color: #808080;
  text-shadow: 1px 1px 0 #ffffff;
}

:disabled + label {
  color: #808080;
  text-shadow: 1px 1px 0 #ffffff;
}

.window {
  box-shadow: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff, inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
  background: #c0c0c0;
  padding: 3px;
}

.title-bar {
  background: linear-gradient(
    90deg,
    #000080,
    #1084d0
  );
  padding: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-bar-text {
  font-weight: bold;
  color: white;
  letter-spacing: 0;
  margin-right: 24px;
}

.title-bar-controls {
  display: flex;
}

.title-bar-controls button {
  padding: 0;
  display: block;
  min-width: 14px;
  min-height: 12px;
}

.title-bar-controls button:focus {
  outline: none;
}

.title-bar-controls button[aria-label="Minimize"] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='2' viewBox='0 0 6 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='6' height='2' fill='black'/%3E %3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom 2px left 3px;
}

.title-bar-controls button[aria-label="Maximize"] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='8' viewBox='0 0 9 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 2V7V8H1H8H9V7V2V0H8H1H0V2ZM8 7V2H1V7H8Z' fill='black'/%3E %3C/svg%3E");
  background-repeat: no-repeat;
  /* Off by 1px because contents can't go above the inner shadow */
  /* Should be 9px by 9px, with top 1px */
  background-position: top 2px left 2px;
}

.title-bar-controls button[aria-label="Close"] {
  margin-left: 2px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' viewBox='0 0 8 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0H1H2V1H3V2H4H5V1H6V0H7H8V1H7V2H6V3H5V4H6V5H7V6H8V7H7H6V6H5V5H4H3V6H2V7H1H0V6H1V5H2V4H3V3H2V2H1V1H0V0Z' fill='black'/%3E %3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top 2px center;
}

.window-body {
  margin: 8px;
}

fieldset {
  border: none;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a, inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
  padding: 10px;
  padding-block-start: 8px;
  margin: 0;
}

legend {
  background: #c0c0c0;
}

.field-row {
  display: flex;
  align-items: center;
}

[class^="field-row"] + [class^="field-row"] {
  margin-top: 6px;
}

.field-row * + * {
  margin-left: 6px;
}

.field-row-stacked {
  display: flex;
  flex-direction: column;
}

.field-row-stacked * + * {
  margin-top: 6px;
}

label {
  display: inline-flex;
  line-height: 1;
  align-items: center;
}

input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  border: none;
}

input[type="radio"] + label {
  position: relative;
  margin-left: 18px;
}

input[type="radio"] + label::before {
  content: "";
  position: absolute;
  left: -18px;
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4V1H2V2H1V4H0V8H1V10H2V8H1V4H2V2H4V1H8V2H10V1H8V0Z' fill='%23808080'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4V2H2V3V4H1V8H2V9H3V8H2V4H3V3H4V2H8V3H10V2H8V1Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3H10V4H9V3ZM10 8V4H11V8H10ZM8 10V9H9V8H10V9V10H8ZM4 10V11H8V10H4ZM4 10V9H2V10H4Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2H10V4H11V8H10V10H8V11H4V10H2V11H4V12H8V11H10V10H11V8H12V4H11V2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2H8V3H9V4H10V8H9V9H8V10H4V9H3V8H2V4H3V3H4V2Z' fill='white'/%3E %3C/svg%3E");
}

input[type="radio"]:checked + label::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  top: 4px;
  left: -14px;
  position: absolute;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' viewBox='0 0 4 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1V1H0V2V3H1V4H3V3H4V2V1H3V0Z' fill='black'/%3E %3C/svg%3E");
}

input[type="radio"]:focus + label,
input[type="checkbox"]:focus + label {
  outline: 1px dotted #000000;
}

input[type="radio"][disabled] + label::before {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4V1H2V2H1V4H0V8H1V10H2V8H1V4H2V2H4V1H8V2H10V1H8V0Z' fill='%23808080'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4V2H2V3V4H1V8H2V9H3V8H2V4H3V3H4V2H8V3H10V2H8V1Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3H10V4H9V3ZM10 8V4H11V8H10ZM8 10V9H9V8H10V9V10H8ZM4 10V11H8V10H4ZM4 10V9H2V10H4Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2H10V4H11V8H10V10H8V11H4V10H2V11H4V12H8V11H10V10H11V8H12V4H11V2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2H8V3H9V4H10V8H9V9H8V10H4V9H3V8H2V4H3V3H4V2Z' fill='%23C0C0C0'/%3E %3C/svg%3E");
}

input[type="radio"][disabled]:checked + label::after {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' viewBox='0 0 4 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1V1H0V2V3H1V4H3V3H4V2V1H3V0Z' fill='%23808080'/%3E %3C/svg%3E");
}

input[type="checkbox"] + label {
  position: relative;
  margin-left: 19px;
}

input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  left: -19px;
  display: inline-block;
  width: 13px;
  height: 13px;
  background: #ffffff;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  margin-right: 6px;
}

input[type="checkbox"]:checked + label::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 3px;
  left: -16px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' viewBox='0 0 7 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6V1H5V2H4V3H3V4H2V3H1V2H0V5H1V6H2V7H3V6H4V5H5V4H6V3H7V0Z' fill='black'/%3E %3C/svg%3E");
}

input[type="checkbox"][disabled] + label::before {
  background: #c0c0c0;
}

input[type="checkbox"][disabled]:checked + label::after {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' viewBox='0 0 7 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6V1H5V2H4V3H3V4H2V3H1V2H0V5H1V6H2V7H3V6H4V5H5V4H6V3H7V0Z' fill='%23808080'/%3E %3C/svg%3E");
}

input[type="text"] {
  padding: 3px 4px;
  border: none;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  background-color: #ffffff;
  box-sizing: border-box;
}

select {
  padding: 3px 4px;
  border: none;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  background-color: #ffffff;
  box-sizing: border-box;
}

textarea {
  padding: 3px 4px;
  border: none;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  background-color: #ffffff;
  box-sizing: border-box;
}

input[type="text"],
select {
  height: 21px;
}

input[type="text"] {
  /* For some reason descenders are getting cut off without this */
  line-height: 2;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  padding-right: 32px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0V1V16H1V1H15V0Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1V15H2V2H14V1H2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H15H0V16H15V0H16V17Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1H14V15H1V16H14H15V1Z' fill='%23808080'/%3E %3Crect x='2' y='2' width='12' height='13' fill='%23C0C0C0'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4V7H5V8H6V9H7V10H8V9H9V8H10V7H11V6Z' fill='black'/%3E %3C/svg%3E");
  background-position: top 2px right 2px;
  background-repeat: no-repeat;
}

select:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
}

select:focus {
  color: #ffffff;
  background-color: #000080;
}
select:focus option {
  color: #000;
  background-color: #fff;
}

select:active {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0H15H16V17H15H0V16V1V0ZM1 16H15V1H1V16Z' fill='%23808080'/%3E %3Crect x='1' y='1' width='14' height='15' fill='%23C0C0C0'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 7H5V8H6V9H7V10H8V11H9V10H10V9H11V8H12V7Z' fill='black'/%3E %3C/svg%3E");
}

a {
  color: #0000ff;
}

a:focus {
  outline: 1px dotted #0000ff;
}

ul.tree-view {
  display: block;
  background: #ffffff;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  padding: 6px;
  margin: 0;
}

ul.tree-view li {
  list-style-type: none;
}

ul.tree-view a {
  text-decoration: none;
  color: #000;
}

ul.tree-view a:focus {
  background-color: #000080;
  color: #ffffff;
}

ul.tree-view ul,
ul.tree-view li {
  margin-top: 3px;
}

ul.tree-view ul {
  margin-left: 16px;
  padding-left: 16px;
  /* Goes down too far */
  border-left: 1px dotted #808080;
}

ul.tree-view ul > li {
  position: relative;
}
ul.tree-view ul > li::before {
  content: "";
  display: block;
  position: absolute;
  left: -16px;
  top: 6px;
  width: 12px;
  border-bottom: 1px dotted #808080;
}

/* Cover the bottom of the left dotted border */
ul.tree-view ul > li:last-child::after {
  content: "";
  display: block;
  position: absolute;
  left: -20px;
  top: 7px;
  bottom: 0px;
  width: 8px;
  background: #ffffff;
}

pre {
  display: block;
  background: #ffffff;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  padding: 12px 8px;
  margin: 0;
}

code,
code * {
  font-family: monospace;
}

summary:focus {
  outline: 1px dotted #000000;
}

::-webkit-scrollbar {
  width: 16px;
}
::-webkit-scrollbar:horizontal {
  height: 17px;
}

::-webkit-scrollbar-corner {
  background: #dfdfdf;
}

::-webkit-scrollbar-track {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='2' height='2' viewBox='0 0 2 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 0H0V1H1V2H2V1H1V0Z' fill='%23C0C0C0'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 0H1V1H0V2H1V1H2V0Z' fill='white'/%3E %3C/svg%3E");
}

::-webkit-scrollbar-thumb {
  background-color: #dfdfdf;
  box-shadow: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff, inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
}

::-webkit-scrollbar-button:vertical:start {
  height: 17px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0V1V16H1V1H15V0Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1V15H2V2H14V1H2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H15H0V16H15V0H16V17Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1H14V15H1V16H14H15V1Z' fill='%23808080'/%3E %3Crect x='2' y='2' width='12' height='13' fill='%23C0C0C0'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 6H7V7H6V8H5V9H4V10H11V9H10V8H9V7H8V6Z' fill='black'/%3E %3C/svg%3E");
}
::-webkit-scrollbar-button:vertical:end {
  height: 17px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0V1V16H1V1H15V0Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1V15H2V2H14V1H2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H15H0V16H15V0H16V17Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1H14V15H1V16H14H15V1Z' fill='%23808080'/%3E %3Crect x='2' y='2' width='12' height='13' fill='%23C0C0C0'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4V7H5V8H6V9H7V10H8V9H9V8H10V7H11V6Z' fill='black'/%3E %3C/svg%3E");
}
::-webkit-scrollbar-button:horizontal:start {
  width: 16px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0V1V16H1V1H15V0Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1V15H2V2H14V1H2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H15H0V16H15V0H16V17Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1H14V15H1V16H14H15V1Z' fill='%23808080'/%3E %3Crect x='2' y='2' width='12' height='13' fill='%23C0C0C0'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 4H8V5H7V6H6V7H5V8H6V9H7V10H8V11H9V4Z' fill='black'/%3E %3C/svg%3E");
}
::-webkit-scrollbar-button:horizontal:end {
  width: 16px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0V1V16H1V1H15V0Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1V15H2V2H14V1H2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H15H0V16H15V0H16V17Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1H14V15H1V16H14H15V1Z' fill='%23808080'/%3E %3Crect x='2' y='2' width='12' height='13' fill='%23C0C0C0'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 4H6V11H7V10H8V9H9V8H10V7H9V6H8V5H7V4Z' fill='black'/%3E %3C/svg%3E");
}

A themes/gl98/static/css/site.css => themes/gl98/static/css/site.css +198 -0
@@ 0,0 1,198 @@
body {
  margin: 0;
  padding: 0;
  background: var(--surface);
}

main {
  width: 65rem;
  margin-left: 240px;
  margin-bottom: 60px;
}

aside {
  width: 200px;
  position: fixed;
  top: 0;
  bottom: 0;
  padding: 8px;
  display: flex;
  align-items: stretch;
}

aside .tree-view {
  width: 100%;
  /* TODO: Move scrollbar into the recessed region? */
  overflow-y: scroll;
}

h1 {
  margin: 12px 0;
}

hr {
  margin: 0;
  border: none;
  width: 400px;
  height: 1px;
  opacity: 0.5;
  background: linear-gradient(
    to right,
    red 20%,
    yellow 20%,
    yellow 36%,
    green 36%,
    green 60%,
    blue 60%,
    blue 100%
  );
}

h2 {
  margin-bottom: 12px;
}

h3,
h4 {
  /* Swap the margin for a top-padding so linking to this section
     results in a better scroll position */
  padding-top: 20px;
  margin-top: 0;
  display: block;
  flex: 0 0 180px;
}

img { max-width: 100%; }

p {
  max-width: 50rem;
  line-height: 1.5;
}

.component {
  display: flex;
  margin-top: 24px;
}

blockquote {
  margin: 0 0 20px;
  padding: 20px;
  background: var(--button-face);
}

blockquote footer {
  margin: 12px 0 0 12px;
}

.example {
  margin: 16px 0;
  padding: 12px 24px;
  border-left: 1px solid var(--button-shadow);
}

details {
  margin-top: 12px;
}

summary {
  user-select: none;
  cursor: pointer;
  display: inline;
}

details[open] summary {
  margin-bottom: 8px;
}


/* use links as buttons */
.button {
  display: inline-block;
  box-sizing: border-box;
  border: none;
  background: #c0c0c0;
  box-shadow: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff, inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;

  min-width: 75px;
  min-height: 23px;
  padding: 0 12px;
  margin-left: 2px;
  color: #000;
  text-decoration: none;
  line-height: 2em;
}

.button:active {
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf,
    inset 2px 2px #808080;
}

.title-bar-controls .button {
  padding: 0;
  display: block;
  min-width: 14px;
  min-height: 12px;
}

.title-bar-controls .button:focus {
  outline: none;
}

.title-bar-controls .button[aria-label="Minimize"] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='2' viewBox='0 0 6 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='6' height='2' fill='black'/%3E %3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom 2px left 3px;
}

.title-bar-controls .button[aria-label="Maximize"] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='8' viewBox='0 0 9 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 2V7V8H1H8H9V7V2V0H8H1H0V2ZM8 7V2H1V7H8Z' fill='black'/%3E %3C/svg%3E");
  background-repeat: no-repeat;
  /* Off by 1px because contents can't go above the inner shadow */
  /* Should be 9px by 9px, with top 1px */
  background-position: top 2px left 2px;
}

.title-bar-controls .button[aria-label="Close"] {
  margin-left: 2px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' viewBox='0 0 8 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0H1H2V1H3V2H4H5V1H6V0H7H8V1H7V2H6V3H5V4H6V5H7V6H8V7H7H6V6H5V5H4H3V6H2V7H1H0V6H1V5H2V4H3V3H2V2H1V1H0V0Z' fill='black'/%3E %3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top 2px center;
}

@media (max-width: 480px) {
  aside {
    display: none;
  }

  main {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 16px;
  }

  hr {
    width: 100%;
  }

  p {
    width: 100%;
  }

  h3,
  h4 {
    flex: 0;
  }

  .component {
    display: block;
    margin-top: 24px;
  }

  pre {
    overflow-x: scroll;
  }
}

A themes/gl98/static/img/logo-glc.png => themes/gl98/static/img/logo-glc.png +0 -0
A themes/gl98/templates/article.html => themes/gl98/templates/article.html +31 -0
@@ 0,0 1,31 @@
{% extends "base.html" %}

{% block title %}
    {{ article.title|striptags}}
{% endblock title %}

{% block content %}
    <main>
        <p></p>
            <div class="window">
                <div class="title-bar">
                    <div class="title-bar-text">{{ article.title }} - {{ article.locale_date  }}</div>
                    <div class="title-bar-controls">
                        <a href="{{ SITEURL }}" class="button" aria-label="Minimize"></a>
                        <a href="{{ SITEURL }}/{{ article.url }}" class="button" aria-label="Maximize" rel="bookmark"></a>
                        <a href="{{ SITEURL }}" class="button" aria-label="Close"></a>
                    </div>
                </div>
                <div class="window-body">
                    {{ article.content }}

                    <hr>
                    <p></p>
<pre><code><strong>Category:</strong> <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
{% if article.tags %}<strong>Tags:</strong> {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>, {% endfor %}{% endif %}
</code></pre>
                </div>
            </div>
            <p></p>
    </main>
{% endblock content %}

A themes/gl98/templates/base.html => themes/gl98/templates/base.html +26 -0
@@ 0,0 1,26 @@
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">
        {% block stylesheets %}
        <link rel="stylesheet" href="{{ SITEURL }}/theme/css/98.css">
        <link rel="stylesheet" href="{{ SITEURL }}/theme/css/site.css">
        {% endblock stylesheets %}
        {% if FEED_ALL_ATOM %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
        {% endif %}
        {% if FEED_ALL_RSS %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
        {% endif %}
    </head>
    <body>
	    {% include "sidebar.html" %}
        {% block content %}
        {% endblock content %}
        {% include "footer.html" %}
    </body>
</html>

A themes/gl98/templates/footer.html => themes/gl98/templates/footer.html +0 -0
A themes/gl98/templates/index.html => themes/gl98/templates/index.html +47 -0
@@ 0,0 1,47 @@
{% extends "base.html" %}


{% block content %}
    <main>
        <p></p>
        {% for article in articles_page.object_list %}
            <div class="window">
                <div class="title-bar">
                    <div class="title-bar-text">{{ article.title }} - {{ article.locale_date  }}</div>
                    <div class="title-bar-controls">
                        <button disabled aria-label="Minimize"></button>
                        <a href="{{ SITEURL }}/{{ article.url }}" class="button" aria-label="Maximize"></a>
                        <button disabled aria-label="Close"></button>
                    </div>
                </div>
                <div class="window-body">
                    {{ article.summary }}
                </div>
            </div>
            <p></p>
        {% endfor %}
        {% if DEFAULT_PAGINATION %}
        <div class="paginator">
            {% if articles_page.has_previous() %}
                {% if articles_page.previous_page_number() == 1 %}
                    <a href="{{ SITEURL }}/{{ page_name }}.html" class="button">
                        Prev. page
                    </a>
                {% else %}
                    <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html"
                    class="button">
                        Prev. page
                    </a>
                {% endif %}
            {% endif %}
            Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
            {% if articles_page.has_next() %}
                <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html"
                   class="button">
                    Next page
                </a>
            {% endif %}
        </div>
        {% endif %}
    </main>
{% endblock content %}

A themes/gl98/templates/page.html => themes/gl98/templates/page.html +25 -0
@@ 0,0 1,25 @@
{% extends "base.html" %}

{% block title %}
    {{ page.title }}
{% endblock title %}

{% block content %}
    <main>
        <p></p>
        <div class="window">
            <div class="title-bar">
                <div class="title-bar-text">{{ page.title }}</div>
                <div class="title-bar-controls">
                    <a href="{{ SITEURL }}" class="button" aria-label="Minimize"></a>
                    <a href="{{ SITEURL }}/{{ page.url }}" class="button" aria-label="Maximize" rel="bookmark"></a>
                    <a href="{{ SITEURL }}" class="button" aria-label="Close"></a>
                </div>
            </div>
            <div class="window-body">
                {{ page.content }}
            </div>
        </div>
        <p></p>
    </main>
{% endblock content %}

A themes/gl98/templates/sidebar.html => themes/gl98/templates/sidebar.html +40 -0
@@ 0,0 1,40 @@
<aside>
    <ul class="tree-view">
        <li><h3><a href="{{ SITEURL }}"><img src="{{ SITEURL }}/theme/img/logo-glc.png" height="32"> {{ SITENAME }}</a></h3></li>
        {% if SITESUBTITLE %}<h6>{{ SITESUBTITLE }}</h6>{% endif %}
        {% if USE_CUSTOM_MENU %}
            {% for name, url in CUSTOM_MENUITEMS %}
                <li><a href="{{ SITEURL }}/{{ url }}">{{ name }}</a></li>
            {% endfor %}
        {% else %}
            {% if DISPLAY_PAGES_ON_MENU %}
                {% for page in pages %}
                    {% if not page.parent  %}
                        <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a>

                            {% for subpage in pages if  subpage.parent==page.slug %}
                                {% if loop.first %} <ul> {% endif %}
                                    <li><a href="{{ SITEURL }}/{{ subpage.url }}">{{ subpage.title }}</a></li>
                                    {% if loop.last %} </ul> {% endif %}
                            {% endfor %}
                        </li>
                    {% endif %}
                {% endfor %}
            {% endif %}
            {% if DISPLAY_CATEGORIES_ON_MENU %}
                <li><strong>categorie</strong></li>
                {% for cat, arts in categories %}
                    <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat.name }}</a></li>
                {% endfor %}
            {% endif %}
        {% endif %}

        {% if SOCIAL  %}
            <li><strong>social</strong><ul>
                {% for text,url in SOCIAL %}
                    <li><a href="{{ url }}">{{ text }}</a></li>
                {% endfor %}
            </ul></li>
        {% endif %}
    </ul>
</aside>