-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcss-hl.html
54 lines (46 loc) · 3.35 KB
/
css-hl.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./dracula.css">
<!-- <link rel="stylesheet" href="https://highlightjs.org/static/demo/styles/base16/dracula.css"> -->
<!-- <link rel="stylesheet" href="https://highlightjs.org/static/demo/styles/base16/outrun-dark.css"> -->
<style>
.hljs {
line-height: 26px;
font-size: 17px;
border-radius: 5px;
font-family: 'Fira Code', monospace;
}
.script {
color: #fffb00;
}
</style>
</head>
<body>
<pre>
<code class="hljs"><span class="hljs-selector-tag">div</span> <span class="hljs-selector-class">.content</span> <span class="hljs-string">{</span>
<span class="hljs-attribute">display</span>: <span class="hljs-attr-value">flex</span>;
<span class="hljs-attribute">background-color</span>: <span class="hljs-attr-value">DodgerBlue</span> <span class="hljs-meta">!important</span>;
<span class="hljs-attribute">color</span>: <span class="hljs-built_in">rgb(<span class="hljs-number"><span class="hljs-bullet">#</span>fff</span>, <span class="hljs-number"><span class="hljs-bullet">#</span>fff</span>, <span class="hljs-number"><span class="hljs-bullet">#</span>fff</span>)</span>
<span class="hljs-string">}</span>
<span class="hljs-selector-tag">input</span><span class="hljs-attr-value">[<span class="hljs-selector-class">type</span>=<span class="hljs-string">'email'</span>]</span> <span class="hljs-string">{</span>
<span class="hljs-attribute">display</span>: <span class="hljs-attr-value">flex</span>;
<span class="hljs-attribute">background-color</span>: <span class="hljs-attr-value">DodgerBlue</span> <span class="hljs-meta">!important</span>;
<span class="hljs-attribute">color</span>: <span class="hljs-built_in">rgb(<span class="hljs-number"><span class="hljs-bullet">#</span>fff</span>, <span class="hljs-number"><span class="hljs-bullet">#</span>fff</span>, <span class="hljs-number"><span class="hljs-bullet">#</span>fff</span>)</span>
<span class="hljs-string">}</span>
<span class="hljs-keyword">@media</span> screen <span class="hljs-keyword">and</span> <span class="hljs-keyword">(<span class="hljs-attribute">min-width</span>: <span class="hljs-number">600<span class="hljs-bullet">px</span></span>)</span> <span class="hljs-string">{</span>
<span class="hljs-selector-class">.flex-container</span> > <span class="hljs-selector-tag">div</span> <span class="hljs-string">{</span>
<span class="hljs-attribute">background-color</span>: <span class="hljs-number"><span class="hljs-bullet">#</span>f1f1f1</span>;
<span class="hljs-attribute">margin</span>:<span class="hljs-number">10<span class="hljs-bullet">px</span></span>;
<span class="hljs-attribute">padding</span>: <span class="hljs-number">20<span class="hljs-bullet">px</span></span>;
<span class="hljs-attribute">font-size</span>: <span class="hljs-number">30<span class="hljs-bullet">px</span></span>;
<span class="hljs-string">}</span>
<span class="hljs-string">}</span>
</code></pre>
</body>
</html>