aboutsummaryrefslogtreecommitdiffstats
path: root/src/less/include/components.less
blob: 63689c1e51bc349ca7d3f81c5ad80faa5d5a4ff5 (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
@import "colors";

.content-wrapper {
  max-width: 60rem;
  margin: 0 auto;
}

.footer {
  font-size: 0.8rem;
  padding: 10px 0;
  text-align: center;

  @media (prefers-color-scheme: dark) {
    border-top: 3px @dark-foreground dotted;
  }

  @media (prefers-color-scheme: light) {
    border-top: 3px @light-foreground dotted;
  }
}

.footer-text {
  line-height: normal;
  margin: 0;
}

.listless-list {
  list-style-type: none;

  li {
    display: inline;
  }
}

.note {
  margin-left: 3rem;
  border-width: 1px;
  border-style: solid;
  padding: 0 1rem;

  @media (prefers-color-scheme: dark) {
    background-color: #1f2c3f;
    border-color: #547ea8;
  }
  @media (prefers-color-scheme: light) {
    background-color: #547ea8;
    border-color: #1f2c3f;
  }
}

.subtitle {
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
  padding: 10px;

  @media (prefers-color-scheme: dark) {
    background-color: @dark-background-highlight;
  }

  @media (prefers-color-scheme: light) {
    background-color: @light-background-highlight;
  }
}

.title-header {
  text-align: center;
  padding: 20px;
  margin: 0;
  font-size: 2.5rem;

  @media (prefers-color-scheme: dark) {
    color: @dark-primary;
    background-color: @dark-background-highlight;
  }

  @media (prefers-color-scheme: light) {
    color: @light-primary;
    background-color: @light-background-highlight;
  }
}