summaryrefslogtreecommitdiffstats
path: root/style.css
blob: cb2e4ca8c9ed163b93203194a8cbb4cdf7ba4769 (plain) (blame)
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
/* root */
:root {
  --lr-width: 45%;
}

/* desktop mode */
@media only screen and (min-width: 100ch) {
  #master {
    width: 95ch;
  }
  div#master #left {
    float: left;
    text-align: left;
    width: var(--lr-width);
  }
  div#master #right {
    float: right;
    text-align: right;
    width: var(--lr-width);
  }
  p#blogpreview a {
    max-width: 30ch;
  }
}
/* mobile mode */
@media only screen and (max-width: 100ch) {
  #master {
    width: 85%;
  }
  p#blogpreview a {
    max-width: 50vw;
  }
}

html, body {
 display: flex;
 justify-content: center;
}
div#master header {
  text-align: center;
  font-size: 30px;
}
div#group hgroup {
  text-align: center;
}
#font, p, ul, ol {
  font-family: sans-serif;
  color: white;
}
p#blogpreview a {
  float: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
p#blogpreview span {
  float: right;
}
a {
  font-family: sans-serif;
  text-decoration: none;
  color: #ea83a5;
}
a:hover, a:active {
  font-style: italic;
}