summaryrefslogtreecommitdiff
path: root/html/style.css
blob: 63fdb65509c82ba2857f4c96c36f7d5d7ca9c8af (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
body {
  width: 100vw;
  margin: 0;
  font-family: sans-serif;
}

nav {
  background: #000;
  color: #fff;
  padding: 0.75em 0 1em 0;
}

nav a {
  padding: 0 1em;
  text-decoration: none;
}

nav img {
  height: 2em;
  display: inline;
  vertical-align: bottom;
}

nav #logo img { height: 2em; }

nav .current { color: #fff; }

nav #menu { display:none; }

nav a:hover { color: #fff; }

@media screen and (max-width: 600px) {
  nav .item {
    display: none;
    padding-left: 1em;
    padding-top: 0.5em;
  }

  nav #menu {
    float: right;
    display: inline;
    font-size: 2em;
  }
}

.post { padding: 1em; }

img, video {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

iframe {
  width: 100%;
  height: 90vh;
  border: none;
}

a {
  color: #888;
}

#image {
  padding-top: 2.5%;
  padding-bottom: 1%;
}

.cover {
  max-height: 50vh;
  margin-left: 0;
}


#controller {
  position: fixed;
  left: 0;
  bottom: 2.5%;
  width: 100%;
  text-align: center;
  padding: 0
}

.btn {
  display: inline-block;
  cursor: pointer;
  color: #000;
  font-size: 2em;
  font-weight: bold;
  width: 4em;
}

#prev, #next {
  cursor: pointer;
  position: absolute;
  color: lightgrey;
  font-weight: bold;
  font-size: 8em;
  transition: 0.5s ease;
  bottom: 6vh;
}

#prev { left: 1%; }
#next { right: 1%; }
#prev:hover, #next:hover { text-decoration: none; }
#prev:active, #next:active { color: black; }