aboutsummaryrefslogtreecommitdiff
path: root/static/scss/lists.scss
blob: ed015531980e397917041c5ab75d4a66825d4737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
@import "footer";
@import "roboto";

$bgColor: #232728;
$fgColor: #dfdfdf;

$markerColor: $fgColor;

$navInactiveColor: #90e7e7;
$navActiveColor: #e790c4;
// #a623db <- nice color might use

* {
  font-family: sans-serif;
}

@mixin selectionColor($fgColor, $bgColor) {
  color: $fgColor;
  background: $bgColor;
}
::selection { @include selectionColor($bgColor, $navActiveColor) }
::-moz-selection { @include selectionColor($bgColor, $navActiveColor) }

h1 {color: #e15f99;}
h2 {color: #47c58d;}
h3 {color: #e0c45e;}
// h4 {color: #47c58d;}
// h5 {color: #47c58d;}
// h6 {color: #47c58d;}

html, body {
  line-height: 1.5;
  background-color: $bgColor;
  color: $fgColor;
  padding: 0rem 0.8rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

main {
  // it's main ul not just ul so
  // it doesn't affect the navbar
  ul {
    line-height: 1.8;
    li::marker {
      color: $markerColor;
    }
  }
  .filled {
    li, li::marker {
      color: $navInactiveColor;
    }
  }
  .two-column ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  }
}

a {
  text-decoration: none;
  color: $navActiveColor;
}

nav {
  ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    a {
      color: $navInactiveColor;
      margin: 0 0.3rem;
      padding: 2px 4px;
    }
    a.selected {
      background-color: $navActiveColor;
      color: $bgColor;
    }
  }
}

@media only screen and (max-width: 600px) {
  main .two-column ul {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
  }
}