blob: 8ce43ce9b9354723694485e12d5813fe697a2132 (
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
|
@font-face {
font-family: "FreePixel";
src: url("https://sadhost.neocities.org/fonts/FreePixel.ttf") format("truetype");
}
:root {
--background: #221122;
--main-color: #EB53D3;
--main-color-dk: #551251;
--accent-1: #6eebff;
--accent-2: #a225e3;
--content-spacing: 5px;
--background-img: #332233;
--banner: #EB53D3;
--titleBars: #551251;
--text-color: white;
--border:1px solid black;
}
html,
body {
margin: 0;
box-sizing: border-box;
font-family: "FreePixel";
}
body {
background-color: var(--background-img);
color: var(--text-color);
background-attachment: fixed;
}
.topbar {
background-color: var(--banner);
height:150px;
margin-bottom:var(--content-spacing);
border:var(--border);
}
#container,
.topbar img {
max-width: 850px;
margin: 0 auto;
}
#container {
border-top: none;
}
#flex {
display: flex;
max-width: 850px;
}
aside {
width: 30%;
margin-left:var(--content-spacing);
border-left:var(--border);
background-color: var(--background);
}
.title, .sidebar-title {
background-image:var(--titleBars);
font-weight:bold;
border:var(--border);
font-size:20px;
}
main {
width: 74%;
background-color: var(--background);
}
.content {
padding:25px;
}
footer {
border:var(--border);
color: red;
font-weight:bold;
height:25px;
margin-top:var(--content-spacing);
background-color:var(--titleBars);
text-align:center;
}
@media only screen and (max-width: 640px) {
nav ul {
list-style-image:none;
list-style-type:none;
}
#flex {
flex-wrap:wrap;
}
main {
width:100%;
order:2;
}
aside {
display:block;
width:100%;
order:1;
margin-left:0;
}
nav ul {
display:flex;
flex-wrap:wrap;
}
nav ul li {
padding-right:10px;
}
nav ul > ul {
display:none;
}
}
@media only screen and (max-height: 640px) {
nav ul > ul {
display:none;
}
}
|