summaryrefslogtreecommitdiffstats
path: root/themes/tozt/static/css/style.css
blob: 85e3e3cb8ab6534d7027232debb60e75453e6964 (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
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
body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  background-color: #345;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li {
  display: inline-block;
  position: relative;
  bottom: -15px;
}
.menu li.active a {
  background-color: #58a;
}
.menu a {
  text-decoration: none;
  background: #8c8;
  padding: 5px;
  border-radius: 5px;
  color: black;
  font-weight: bold;
  border: 1px solid;
}
.menu a:link, .menu a:visited {
  color: black;
}
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
header.body {
  background-color: #58a;
  border: 1px solid;
  border-radius: 16px;
}
header.body h2, header.body h3 {
  margin: 8px;
}
footer a { text-decoration: none; }
hr {
  border-style: dashed;
  color: #ddd;
}
header.page .name {
  float: left;
  bottom: 0px;
  position: absolute;
}
header.page .name h1 {
  padding: 0px;
  margin: 0px;
}
.icon {
  float: right;
}
.clear { clear: both; }
header.page {
  border-bottom: 1px solid;
  position: relative;
}

/* code */
pre {
  background-color: #ada;
  border: 1px solid #ddd;
  padding: 1em;
  overflow-x: auto;
}
code {
  background: #ada;
  padding: 2px;
}
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main {
  hyphens: auto;
  background-color: #8c8;
  padding: 8px;
  border-radius: 16px;
  line-height: 1.5em;
}
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee }

a:link { color: #123; }
a:visited { color: #153; }

.lastmod, .postdate {
  font-size: smaller;
  font-style: italic;
}
.lastmod {
  padding: 8px;
}
.postdate {
  padding-left: 8px;
}