forked from remy/mit-license
-
Notifications
You must be signed in to change notification settings - Fork 0
/
terminal-black-and-white-reverse.css
101 lines (86 loc) · 1.85 KB
/
terminal-black-and-white-reverse.css
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
/* terminal black and white reverse theme v1.0.0 by Axorax - https://github.com/Axorax/mit-license-themes-axorax
* MIT License - https://axorax.mit-license.org/
* Preview - https://axorax.github.io/mit-license-themes-axorax/preview?theme=terminal-black-and-white-reverse
*/
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
:root {
color-scheme: dark;
}
body {
margin: 0;
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace !important;
line-height: 1.5;
background: #fff;
color: #000;
}
a {
text-decoration: underline;
color: #000;
}
a:hover, a:focus {
text-decoration: double underline;
}
article, footer {
width: 51.5rem;
max-width: calc(100% - 6rem);
border-radius: 5px 5px 0 0;
padding: 1em 2rem 0 2rem;
border-bottom: none;
font-size: 15px;
text-align: left;
}
article p:nth-last-child(2) {
padding: .8rem 0;
border-radius: 7px;
font-size: 14px;
}
footer {
border-radius: 0 0 5px 5px;
width: 54rem;
max-width: calc(100% - 3.6rem);
margin-bottom: 1em;
margin: 0;
padding: 0 2rem 1em 2rem;
}
footer a, footer p {
padding: 0 !important;
position: relative;
}
footer p::before {
content: '> ';
}
footer p::after {
position: absolute;
content: '';
background: #000;
width: 12px;
height: 19px;
margin-left: 3px;
animation: blink 1s linear infinite;
}
@keyframes blink {
0% {
width: 0;
opacity: 0;
} 50% {
width: 12px;
opacity: 1;
} 100% {
width: 0;
opacity: 0;
}
}
h1 {
margin-top: 0;
color: #000 !important;
font-weight: normal;
padding: 0;
line-height: 36px;
}
article p:first-of-type {
margin: -.5em 0 2rem 0;
}
::selection {
background: #2d68fc;
color: #000;
}