-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcssyn.css
67 lines (54 loc) · 1.65 KB
/
cssyn.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
/*
8"""8 8"""" 8"""8 8""""8 8""""8 8 8 8""""8 8""""
8 8 8 8 8 8 8 8 8 8 8 8 8 8
8e 8 8eeee 8eee8e 8e 8 8eeee8ee 8e 8 8e 8 8eeee
88 8 88 88 8 88 8 88 8 88 8 88 8 88
88 8 88 88 8 88 8 88 8 88 8 88 8 88
88 8 88eee 88 8 88eee8 88eeeee8 88ee8 88eee8 88eee
[website] https://www.nerdbude.com
[mail] post@nerdbude.com
[twitter] @PH_0x17
[github] https://www.github.com/nerdbude
*/
/*just for demo / example.html*/
#body {background-color: #292929;
color: #ffffff;}
/* code block main style */
#cssyn {
background: transparent;
padding: 15px 0 15px 0;
margin: 0 0 2px 0;
border-style: solid;
border-color: #afd75f;
border-width: 1px;
counter-reset: line;
}
pre {font-family: 'Share Tech Mono', monospace;
padding-left: 15px;}
ln {font-family: 'Share Tech Mono', monospace;}
ln::before {content: counter(line, decimal-leading-zero);
background: #282828;
color: #444444;
padding: 0 10px 0 0;
margin: 0 20px 0 0;
border-right: 1px solid #444444;
counter-increment: line;
-webkit-user-select: none;
}
.label {background-color: #afd75f;
border-style: solid;
border-width: 1px;
border-color: #afd75f;
padding-left: 15px;
padding-right: 15px;
color: #272727;}
/* single syntax elements as classes */
/* use in html: <pre class="unix-shell"> $> sudo apt-get install </pre> */
.unixshell {color: #87afd7; font-style: italic;}
.comment {color: #8a8a8a;}
.url {color: #00ffd7; font-style: italic; text-decoration: underline;}
.value {color: #875fff;}
.header-file {color: #afd75f;}
.selector {color: #ff5f5f;}
.subselector {color: #ffff5f;}
.unit {color: #ff5f87;}