|
1 | 1 | <!DOCTYPE html>
|
2 | 2 | <html lang="en">
|
3 |
| - <head> |
4 |
| - <title>HackMD</title> |
5 |
| - <meta charset="UTF-8"> |
6 |
| - <meta name="viewport" content="width=device-width, initial-scale=1"> |
7 |
| - <style> |
8 |
| - html, body { |
9 |
| - margin: 0; |
10 |
| - height: 100%; |
11 |
| - background-color: #f8f8f8; |
12 |
| - overflow: hidden; |
13 |
| - font-family: Arial, Helvetica, sans-serif; |
14 |
| - } |
| 3 | + <head> |
| 4 | + <title>HackMD</title> |
| 5 | + <meta charset="UTF-8"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | + <style> |
| 8 | + html, body { |
| 9 | + margin: 0; |
| 10 | + height: 100%; |
| 11 | + background-color: #f8f8f8; |
| 12 | + overflow: hidden; |
| 13 | + font-family: Arial, Helvetica, sans-serif; |
| 14 | + } |
15 | 15 |
|
16 |
| - body { |
17 |
| - display: flex; |
18 |
| - flex-direction: column; |
19 |
| - } |
| 16 | + body { |
| 17 | + display: flex; |
| 18 | + flex-direction: column; |
| 19 | + } |
20 | 20 |
|
21 |
| - webview { |
22 |
| - display: flex; |
23 |
| - flex: 1; |
24 |
| - } |
| 21 | + webview { |
| 22 | + flex: 1; |
| 23 | + } |
25 | 24 |
|
26 |
| - navbar { |
27 |
| - height: 23px; |
28 |
| - align-items: center; |
29 |
| - width: 100%; |
30 |
| - display: flex; |
31 |
| - -webkit-app-region: drag; |
32 |
| - padding-left: 75px; |
33 |
| - background-color: #f8f8f8; |
34 |
| - color: #484848; |
| 25 | + navbar { |
| 26 | + height: 23px; |
| 27 | + align-items: center; |
| 28 | + width: 100%; |
| 29 | + display: flex; |
| 30 | + -webkit-app-region: drag; |
| 31 | + padding-left: 75px; |
| 32 | + background-color: #f8f8f8; |
| 33 | + color: #484848; |
35 | 34 |
|
36 |
| - transition: color 0.5s, background-color 0.5s; |
37 |
| - } |
| 35 | + transition: color 0.5s, background-color 0.5s; |
| 36 | + } |
38 | 37 |
|
39 |
| - #navbar-container { |
40 |
| - font-size: 0.9em; |
41 |
| - font-family: "Courier New", Courier, monospace; |
42 |
| - display: flex; |
43 |
| - flex: 1; |
44 |
| - justify-content: space-between; |
45 |
| - -webkit-user-select: none; |
46 |
| - user-select: none; |
47 |
| - } |
| 38 | + #navbar-container { |
| 39 | + font-size: 0.9em; |
| 40 | + font-family: "Courier New", Courier, monospace; |
| 41 | + display: flex; |
| 42 | + flex: 1; |
| 43 | + justify-content: space-between; |
| 44 | + -webkit-user-select: none; |
| 45 | + user-select: none; |
| 46 | + } |
48 | 47 |
|
49 |
| - navbar.dark { |
50 |
| - background-color: #333333; |
51 |
| - color: white; |
52 |
| - } |
| 48 | + navbar.dark { |
| 49 | + background-color: #333333; |
| 50 | + color: white; |
| 51 | + } |
53 | 52 |
|
54 |
| - navbar.dark .control-buttons > *:hover { |
55 |
| - color: white; |
56 |
| - } |
| 53 | + navbar.dark .control-buttons > *:hover { |
| 54 | + color: white; |
| 55 | + } |
57 | 56 |
|
58 |
| - #navbar-container .control-buttons { |
59 |
| - flex: 1; |
60 |
| - display: flex; |
61 |
| - } |
| 57 | + #navbar-container .control-buttons { |
| 58 | + flex: 1; |
| 59 | + display: flex; |
| 60 | + } |
62 | 61 |
|
63 |
| - #navbar-container .control-buttons > * { |
64 |
| - margin: 0 .3em; |
65 |
| - cursor: pointer; |
66 |
| - -webkit-user-select: none; |
67 |
| - height: 23px; |
68 |
| - display: flex; |
69 |
| - align-items: center; |
70 |
| - } |
| 62 | + #navbar-container .control-buttons > * { |
| 63 | + margin: 0 .3em; |
| 64 | + cursor: pointer; |
| 65 | + -webkit-user-select: none; |
| 66 | + height: 23px; |
| 67 | + display: flex; |
| 68 | + align-items: center; |
| 69 | + } |
71 | 70 |
|
72 |
| - #navbar-container .control-buttons > *:hover { |
73 |
| - color: #c1c1c1; |
74 |
| - } |
75 |
| - </style> |
76 |
| - </head> |
77 |
| - <body> |
78 |
| - <navbar> |
79 |
| - <div id="navbar-container"> |
80 |
| - <div class="control-buttons"> |
81 |
| - <div class="home">HOME</div> |
82 |
| - <div class="refresh">REFRESH</div> |
83 |
| - <div class="navigate-back" style="margin: 0 1em;"><</div> |
84 |
| - <div class="navigate-foward">></div> |
85 |
| - </div> |
86 |
| - <div class="control-buttons" style="flex: 2"> |
87 |
| - <div class="title"></div> |
88 |
| - </div> |
89 |
| - </div> |
90 |
| - </navbar> |
91 |
| - <script src="renderer.js"></script> |
92 |
| - </body> |
| 71 | + #navbar-container .control-buttons > *:hover { |
| 72 | + color: #c1c1c1; |
| 73 | + } |
| 74 | + </style> |
| 75 | + </head> |
| 76 | + <body> |
| 77 | + <navbar> |
| 78 | + <div id="navbar-container"> |
| 79 | + <div class="control-buttons"> |
| 80 | + <div class="home">HOME</div> |
| 81 | + <div class="refresh">REFRESH</div> |
| 82 | + <div class="navigate-back" style="margin: 0 1em;"><</div> |
| 83 | + <div class="navigate-foward">></div> |
| 84 | + </div> |
| 85 | + <div class="control-buttons" style="flex: 2"> |
| 86 | + <div class="title"></div> |
| 87 | + </div> |
| 88 | + </div> |
| 89 | + </navbar> |
| 90 | + <script src="renderer.js"></script> |
| 91 | + </body> |
93 | 92 | </html>
|
0 commit comments