summary refs log tree commit diff
path: root/css/style.css
blob: fbb0be52452abb4ac0011147079990fa57d27778 (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
152
153
154
155
156
157
158
159
160
161
/* CSS Forked from "https://openbsd.org/openbsd.css" */

:link {
    color: #23238E;
}

:visited {
    color: #23238E;
}

@keyframes moveBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 446px 586px;
    }
}

body {
    background-color: #FFFFFF;
    background-image:url('../res/bkg.jpg');
    color: #111111;
    margin: 15px auto;
    padding: 0 10px;

    background-repeat: repeat;
    animation: moveBackground 20s linear infinite;
}

code {
    white-space: nowrap;
}

@media (min-width: 800px) {
    body {
        max-width: 85%;
    }
}

tt {
    white-space: pre;
}

/* sidebar layout */

index-body {
    height: 100%;
    max-width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: table;
    padding: 0;
    margin: 0;
}

body {
    height: auto;
    max-width: 117ch;
    margin: 0 auto;
    display: block;
}

nav,
article,
figure,
aside {
    display: table-cell;
    padding: 4px;
}

nav,
figure {
    border-right: 1px solid;
    background-color: #dfe5fb;
    border-color: #040361;
}

nav header {
    margin: 0;
    font-size: 15pt;
    font-weight: bolder;
    white-space: nowrap;
}

nav ul {
    margin-top: 0;
    margin-bottom: 1em;
    padding-left: 0;
}

nav li {
    list-style-type: none;
    list-style-position: inside;
    margin-left: 0.5em;
}

#callout {
    color: #E00000;
    font-weight: bold;
    text-align: center;
}

.not-openbsd #callout {
    color: #0000A0;
    font-weight: normal;
}

main,
footer {
    display: table-row;
}

nav {
    vertical-align: top;
}

figure,
aside {
    vertical-align: bottom;
}

/* Eggramen */
.box {
    margin-bottom: 4px;
}

.box, .footer-box {
    border: 1px solid #040361;
}

/*Inner content div for boxes. Padding goes here so sidebar headers etc can keep their no-margin look.*/
.inner {
    background:  #ffffff;
    padding: 10px 25px;
}

.inner img {
    max-width: 100%; /*Prevent image overflow.*/
    height: auto;
}

.box, .title-pic img {
    overflow: hidden; /*Force inner divs to conform to rounded corners.*/
}


.inline-image {
    float: left;
    margin-right: 25px; /* Space between image and text */
}

blockquote {
  border-left: #4d4385 3px solid;
  background: #d8d4ec;
  padding: 0.1px 0.75rem;
  margin: 0 1.5rem;
  }