|
1 | 1 | body { |
2 | | - margin: 0; |
3 | | - padding: 0; |
4 | | - height: 100vh; |
5 | | - font-family: 'Courier New', Courier, monospace; |
6 | | - background-image: linear-gradient(to right top, #8e44ad 0%, #3498db 100%); |
7 | | - background-repeat: no-repeat; |
8 | | - background-position: center center; |
9 | | - background-size: cover; |
10 | | - background-attachment : fixed; |
11 | | - color: #ddecf9; |
| 2 | + margin: 0; |
| 3 | + padding: 0; |
| 4 | + height: 100vh; |
| 5 | + font-family: 'Courier New', Courier, monospace; |
| 6 | + background-image: linear-gradient(to right top, #8e44ad 0%, #3498db 100%); |
| 7 | + background-repeat: no-repeat; |
| 8 | + background-position: center center; |
| 9 | + background-size: cover; |
| 10 | + background-attachment: fixed; |
| 11 | + color: #ddecf9; |
12 | 12 | } |
13 | 13 |
|
14 | 14 | .topbar { |
15 | | - width: 100%; |
16 | | - height: 4px; |
17 | | - background-image: linear-gradient(to right, #4ed2e7 0%, #db57eb 50%, #f98818 100%); |
| 15 | + width: 100%; |
| 16 | + height: 4px; |
| 17 | + background-image: linear-gradient(to right, #4ed2e7 0%, #db57eb 50%, #f98818 100%); |
18 | 18 | } |
19 | 19 |
|
20 | 20 | header { |
21 | | - color: #fff; |
| 21 | + color: #fff; |
22 | 22 | } |
23 | 23 |
|
24 | 24 | /* Nav */ |
25 | 25 |
|
26 | 26 | nav { |
27 | | - margin: 0 auto; |
28 | | - padding: 0px; |
29 | | - text-shadow: 1px 1px 2px #000000; |
30 | | - position: relative; |
31 | | - z-index: 99; |
32 | | - font-family: 'Font Awesome 5 Free'; |
33 | | - font-size: 18px; |
34 | | - } |
35 | | - |
36 | | - nav ul { |
37 | | - margin-top: 0px; |
38 | | - margin-bottom: 0px; |
39 | | - text-align: center; |
40 | | - background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.2) 75%, rgba(255, 255, 255, 0) 100%); |
41 | | - box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6); |
42 | | - cursor: pointer; |
43 | | - } |
44 | | - |
45 | | - nav ul li { |
46 | | - display: inline-block; |
47 | | - } |
48 | | - |
49 | | - nav ul li a { |
50 | | - padding: 18px; |
51 | | - font-family: "Open Sans"; |
52 | | - text-transform:uppercase; |
53 | | - text-decoration: none; |
54 | | - display: block; |
55 | | - } |
56 | | - |
57 | | - nav ul li a:hover { |
58 | | - box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6); |
59 | | - background: rgba(255, 255, 255, 0.1); |
60 | | - } |
| 27 | + background: linear-gradient( |
| 28 | + 90deg, |
| 29 | + rgba(255, 255, 255, 0) 0%, |
| 30 | + rgba(255, 255, 255, 0.2) 25%, |
| 31 | + rgba(255, 255, 255, 0.2) 75%, |
| 32 | + rgba(255, 255, 255, 0) 100% |
| 33 | + ); |
| 34 | + box-shadow: |
| 35 | + 0 0 25px rgba(0, 0, 0, 0.1), |
| 36 | + inset 0 0 1px rgba(255, 255, 255, 0.6); |
| 37 | + text-align: center; |
| 38 | +} |
| 39 | + |
| 40 | +nav button { |
| 41 | + background: none; |
| 42 | + border: none; |
| 43 | + text-shadow: 1px 1px 2px #000000; |
| 44 | + font-family: 'Font Awesome 5 Free'; |
| 45 | + font-size: 18px; |
| 46 | + color: #ddecf9; |
| 47 | + cursor: pointer; |
| 48 | + margin: 0 auto; |
| 49 | + padding: 18px; |
| 50 | +} |
| 51 | + |
| 52 | +nav button:hover { |
| 53 | + box-shadow: |
| 54 | + 0 0 10px rgba(0, 0, 0, 0.1), |
| 55 | + inset 0 0 1px rgba(255, 255, 255, 0.6); |
| 56 | + background: rgba(255, 255, 255, 0.1); |
| 57 | +} |
| 58 | + |
| 59 | +nav #save-btn:disabled { |
| 60 | + pointer-events: none; |
| 61 | + color: #7ca0df; |
| 62 | +} |
| 63 | + |
| 64 | +nav button i { |
| 65 | + /* Click through the icon in the button */ |
| 66 | + pointer-events: none; |
| 67 | +} |
61 | 68 |
|
62 | 69 | /* Code */ |
63 | 70 |
|
64 | 71 | .main { |
65 | | - padding: 0px; |
| 72 | + padding: 0px; |
66 | 73 | } |
67 | 74 |
|
68 | 75 | /* About */ |
69 | 76 |
|
70 | 77 | .about-box { |
71 | | - display: none; |
72 | | - position: fixed; |
73 | | - z-index: 1; |
74 | | - left: 0; |
75 | | - top: 0; |
76 | | - width: 100%; |
77 | | - height: 100%; |
78 | | - background-image: linear-gradient(to right top, #8e44ad 0%, #3498db 100%); |
| 78 | + display: none; |
| 79 | + position: fixed; |
| 80 | + z-index: 1; |
| 81 | + left: 0; |
| 82 | + top: 0; |
| 83 | + width: 100%; |
| 84 | + height: 100%; |
| 85 | + background-image: linear-gradient(to right top, #8e44ad 0%, #3498db 100%); |
79 | 86 | } |
80 | | - |
| 87 | + |
81 | 88 | .about-box-content { |
82 | | - background-image: linear-gradient(to right top, #8e44ad 0%, #3498db 100%); |
83 | | - position: absolute; |
84 | | - margin: 0; |
85 | | - padding: 10px; |
86 | | - width: 30%; |
87 | | - border-radius: 5px; |
88 | | - top: 50%; |
89 | | - left: 50%; |
90 | | - transform: translate(-50%, -50%); |
| 89 | + background-image: linear-gradient(to right top, #8e44ad 0%, #3498db 100%); |
| 90 | + position: absolute; |
| 91 | + margin: 0; |
| 92 | + padding: 10px; |
| 93 | + width: 30%; |
| 94 | + border-radius: 5px; |
| 95 | + top: 50%; |
| 96 | + left: 50%; |
| 97 | + transform: translate(-50%, -50%); |
91 | 98 | } |
92 | 99 |
|
93 | 100 | .about-box-content h1 { |
94 | | - text-align: center; |
| 101 | + text-align: center; |
95 | 102 | } |
96 | 103 |
|
97 | 104 | .about-box-content a { |
98 | | - color: inherit; |
| 105 | + color: inherit; |
99 | 106 | } |
100 | 107 |
|
101 | 108 | .CodeMirror { |
102 | | - height: 100%; |
103 | | - font-family: 'Courier New', Courier, monospace; |
104 | | - font-size: 16px; |
105 | | - text-shadow: 1px 1px 2px #000000; |
106 | | -} |
107 | | - |
108 | | -.CodeMirror-scroll { |
109 | | - |
| 109 | + height: 100%; |
| 110 | + font-family: 'Courier New', Courier, monospace; |
| 111 | + font-size: 16px; |
| 112 | + text-shadow: 1px 1px 2px #000000; |
110 | 113 | } |
0 commit comments