-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
129 lines (105 loc) · 1.72 KB
/
styles.css
File metadata and controls
129 lines (105 loc) · 1.72 KB
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
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');
/* overall */
html {
height: 100%;
}
body {
font-family: 'Inconsolata', monospace;
background-color: black;
color: white;
height: 100%;
margin: 0;
}
/* logo */
#logo-container {
text-align: center;
padding-top: 2%;
}
#logo {
width: 20%;
max-width: 460px;
}
/* section header */
h1::before {
content: "miaowware $ " / "";
color: #f7a8da;
font-size: 1em;
}
h1 {
font-size: 1em;
}
h2::before {
content: "## " / "";
color: #f7a8da;
font-size: 1em;
}
h2 {
font-size: 1em;
}
.container {
padding: 2%;
background-color: black;
}
/* content */
#content {
margin-left: auto;
margin-right: auto;
float: none;
display: table;
}
/* link container */
.link {
padding-top: 0.2em;
padding-bottom: 0.2em;
}
.link a:before {
content: "- ";
}
.link:hover a:before {
content: "> ";
}
.link:hover a {
color: #f7931e;
}
/* link description */
.link:hover .description {
visibility: visible;
}
.description {
visibility: hidden;
color: #ccc;
}
.description:before {
content: "// ";
}
/* link */
a:link, a:visited {
color: #eee;
text-decoration: none;
}
a:hover, a:visited:hover {
color: #f7931e;
text-decoration: none;
}
a:active {
text-decoration: underline;
}
/* responsivity */
@media only screen and (max-width: 650px) {
#logo {
width: auto;
height: 128px;
}
.description {
visibility: visible;
}
#content {
margin: 2%;
}
}
/* detect touchscreens (more-or-less) */
@media (pointer: none), (pointer:coarse) {
.description {
visibility: visible;
}
}