summaryrefslogtreecommitdiff
path: root/css/main.css
blob: 4d30a640208babbe303acc4899aa85b9e8700ec1 (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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
body, h1, h2, h3, h4, h5, h6, p, li, ol, ul, blockquote, code, pre {
  margin: 0;
  padding: 0;
  color: #444444;
  font-size: 18px;
  font-family: "PT Serif", Georgia, serif;
  -webkit-font-smoothing: antialiased; }

body {
  background: rgb(185,179,162) url("images/bg.png");
  background: -webkit-radial-gradient(
    center center,
    ellipse contain,
    rgba(255,255,255,1),
    rgba(255,255,255,0))
  , url("images/bg.png");
}

h1 {
  margin: 36px 0 46px;
  text-align: center;
  font: italic 1.8em normal "Rosarivo", "Baskerville", "PT Serif", Georgia, serif; }

a {
  text-decoration: none;
  color: #000;
  opacity: .3;
}
a:before {
  content: "†";
  margin-right: .3em;
  font-weight: bold;
  -webkit-transition-duration: .2s;
}
a:hover {
  -webkit-transform: scale(1.1);
  opacity: 1;
}

p, li {
  line-height: 1.4em; }

h2 {
  line-height: 18px;
  margin-top: 18px; }

p + p {
  text-indent: 1.4em; }

p, ul, ol, pre, .highlight {
  margin-top: 1em;
}

p code, li code { font-size: 85%; background: #ddd; }

blockquote {
  margin: 18px;
  font-style: italic;
}

pre, code {
  font-family: Monaco, Menlo, DejaVu Sans Mono, monospace;
  font-size: 93%;
}

pre { padding: 0 .1em; }

pre code { color: rgb(130,146,148) }

aside {
  text-align: right; }
  aside p, aside li {
    font-size: 12px;
    margin-top: 3px;
    line-height: 15px; }

hr {
  border:0;
  background: rgba(0,0,0,.1);
  height: 1px;
  width: 120px;
  margin: 1em auto 0;
}

#bucket {
  background: rgba(255,255,255,.8);
  width: 720px;
  margin: 120px auto;
  padding: 2.8em;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 5px 5px rgba(0, 0, 0, 0.45);
  position: relative;
}

#logo {
  background: url("images/logo.png") no-repeat center;
  height: 54px;
  margin: 20px 0 0 0px;
  text-indent: -9999px; }

#logo a { display: block; }

#slogan {
  text-align: center;
  color: rgba(0,0,0,.3);
  margin-top: -3em;
  margin-bottom: 4em;
  display: block;
  font-style: normal;
}

.highlight {
  padding: 4px;
  overflow: scroll;
}

.highlight pre {
  margin-top: 0;
}

nav a {
  border-radius: 15px;
  width: 30px;
  height: 30px;
  background-color: #3f3e3f;
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1), rgba(0,0,0,.1));
  background-image: -moz-linear-gradient(top, rgba(255,255,255,.1), rgba(0,0,0,.1));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5);
  display: block;
  opacity: 1;
  color: #fff;
  line-height: 30px;
  text-align: center;
  position: absolute;
  top: -15px
}

nav a:before { content: none; }

nav .next { right: -15px; }
nav .previous { left: -15px; }

@media only screen and (max-device-width: 480px), only screen and (max-width: 480px) {
  body {
    background: rgba(255,255,255,.8) none;
  }
  div#bucket { 
    width: auto;
    margin-top: 0;
  }
}