File tree Expand file tree Collapse file tree 3 files changed +64
-27
lines changed
Expand file tree Collapse file tree 3 files changed +64
-27
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * Basic styles
3+ */
4+ html , body {
5+ min-height : 100vh ;
6+ margin : 0 ;
7+
8+ font-family : sans-serif;
9+ font-size : 16px ;
10+ line-height : 1.5 ;
11+ }
12+
13+ * {
14+ box-sizing : border-box;
15+ }
16+
17+ a {
18+ color : # 5B9821 ;
19+ text-decoration : none;
20+
21+ & : hover {
22+ text-decoration : underline;
23+ }
24+ }
25+
126/**
227 * Standard Panel Layout
328 */
2449 }
2550}
2651
52+ /**
53+ * Editor and Output Styles
54+ */
55+
2756.panel-editor {
2857 display : flex;
2958 flex-direction : column;
5584 cursor : pointer;
5685 }
5786}
87+
88+ /**
89+ * Print Styles
90+ */
91+ @media print {
92+ p {
93+ display : none;
94+ }
95+
96+ .panel-editor {
97+ display : none;
98+ }
99+
100+ .editor {
101+ display : block;
102+
103+ # output svg {
104+ width : initial;
105+ height : initial;
106+ max-height : none;
107+ display : block;
108+ }
109+ }
110+ }
Original file line number Diff line number Diff line change 55 < script >
66 new EventSource ( '/esbuild' ) . addEventListener ( 'change' , ( ) => location . reload ( ) ) ;
77 </ script >
8- < link rel ="icon " href =" data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='0.9em' font-size='90'%3E🌿%3C/text%3E%3C/svg%3E " >
9- < link type =" text/css " rel =" stylesheet " href =" web.css ">
8+ < link rel ="icon "
9+ href =" data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='0.9em' font-size='90'%3E🌿%3C/text%3E%3C/svg%3E ">
1010 < link type ="text/css " rel ="stylesheet " href ="editor.css ">
1111
1212</ head >
1616 < div class ="panel panel-editor ">
1717 < div id ="editor "> </ div >
1818 < p >
19- Examples :
20- < a href ="?load=pinouts/esp32-c3-super-mini.yaml "> ESP32-C3 Super Mini</ a >
21- < a href ="?load=pinouts/raspberry-pi.yaml "> Raspberry Pi</ a >
19+ Load an Example :
20+ < a href ="?load=pinouts/esp32-c3-super-mini.yaml "> ESP32-C3 Super Mini</ a > ,
21+ < a href ="?load=pinouts/raspberry-pi.yaml "> Raspberry Pi</ a > ,
2222 < a href ="?load=pinouts/a4988.yaml "> A4988 Motor Driver</ a >
2323 </ p >
2424
2525 < p >
26- < a href =" https://github.com/splitbrain/pinoutleaf?tab=readme-ov-file#configuration-syntax " > Read the docs </ a >
27- for more info on available config options .
26+ < b > Learn more </ b > about the tool and available config options in the
27+ < a href =" https://github.com/splitbrain/pinoutleaf " > Github Repository </ a > .
2828 </ p >
2929 </ div >
3030 < div class ="panel panel-output ">
3131 < div id ="output "> </ div >
3232
33- < p > Click images to download.</ p >
33+ < p >
34+ ☝️ Click the images to download.
35+ < a href ="javascript:print() "> 🖨️ Click here to print them</ a > .
36+ </ p >
3437 </ div >
3538</ div >
3639
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments