aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/polaris/assets/css/style.css
blob: f84c768a48e5dd9874b460effb71b4a16517f890 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
:root {
  --body-background: #1a1a1a;
  --body-foreground: #eeeeee;
  --body-link: lightblue;
  --nav-background: #3a3a3a;
  --nav-foreground: #eeeeee;
  --nav-active-background: #eeeeee;
  --nav-active-foreground: #1a1a1a;
  --hr-background: #8a8a8a;
}

body {
  margin: 0;
  background-color: var(--body-background);
  color: var(--body-foreground);
}

a {
  color: var(--body-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.nav-over, main, footer {
  max-width: 1000px;
  margin: 0 auto;
}

@media only screen and (max-width: 1100px) {
  .nav-over, main, footer {
    max-width: 800px;
  }
}

@media only screen and (max-width: 900px) {
  .nav-over, main, footer {
    max-width: 700px;
  }
}

@media only screen and (max-width: 750px) {
  .nav-over, main, footer {
    max-width: none;
  }

  .nav-title, main, footer {
    margin: 0 16px;
  }
}

.nav-under {
  background-color: var(--nav-background);
  padding: 4px 0;
}

.nav-title h2 {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0;
  padding: 16px 0;
}

.nav-subtext {
  margin-left: 16px;
  color: #999999;
  font-style: italic;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
  overflow: hidden;
}

.nav-link {
  background-color: var(--nav-background);
  color: var(--nav-foreground);
  display: block;
  padding: 8px 12px;
}

.link-active {
  background-color: var(--nav-active-background);
  color: var(--nav-active-foreground);
}

.link-left {
  float: left;
}

.link-right {
  float: right;
}

@media only screen and (max-width: 400px) {
  .link-left, .link-right {
    float: none;
  }

  .nav-under {
    display: none;
  }
}

hr {
  background-color: var(--hr-background);
  height: 1px;
  border: none;
}

footer {
  text-align: center;
}

.footer-break {
  width: 120px;
}

.build-date {
  font-style: italic;
}