Changed font and added some centered elements. Fixed spacing (padding and margin)
This commit is contained in:
		
							parent
							
								
									eb7c297791
								
							
						
					
					
						commit
						5c607d581d
					
				
							
								
								
									
										16
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								index.html
									
									
									
									
									
								
							@ -1,31 +1,37 @@
 | 
				
			|||||||
<!DOCTYPE html>
 | 
					<!DOCTYPE html>
 | 
				
			||||||
<html lang="en">
 | 
					<html lang="en-US ">
 | 
				
			||||||
<head>
 | 
					<head>
 | 
				
			||||||
    <meta charset="UTF-8">
 | 
					    <meta charset="UTF-8">
 | 
				
			||||||
    <title>Nginx Installer</title>
 | 
					    <title>Nginx Installer</title>
 | 
				
			||||||
    <link rel="stylesheet" href="style.css">
 | 
					    <link rel="stylesheet" href="style.css">
 | 
				
			||||||
 | 
					    <link href='https://fonts.googleapis.com/css?family=JetBrains Mono' rel='stylesheet'>
 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
<body>
 | 
					<body>
 | 
				
			||||||
  <div class="main">
 | 
					  <div class="main">
 | 
				
			||||||
    <label for="link">
 | 
					<!--    <h1 style="margin-left: auto; margin-right: auto">Nginx Script Gen</h1>-->
 | 
				
			||||||
        <p>nginx archive <a href="https://nginx.org/download/" target=”_blank”>(copy link here)</a></p>
 | 
					    <label for="link" style="height: 50px">
 | 
				
			||||||
        <input type="text" id="link">
 | 
					        <p style="width: 300px; "><a href="https://nginx.org/download/" target=”_blank”>NGINX Archive Link:</a></p>
 | 
				
			||||||
 | 
					        <input type="text" id="link" style="margin-top: 10px">
 | 
				
			||||||
    </label>
 | 
					    </label>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <label for="extMod">
 | 
					    <label for="extMod">
 | 
				
			||||||
        <p>Include recommended modules (<a href="https://github.com/openresty/headers-more-nginx-module" target="_blank">more headers</a> & <a href="https://github.com/google/ngx_brotli" target="_blank">brotli compression</a>)</p>
 | 
					        <p>Include recommended modules (<a href="https://github.com/openresty/headers-more-nginx-module" target="_blank">more headers</a> & <a href="https://github.com/google/ngx_brotli" target="_blank">brotli compression</a>):</p>
 | 
				
			||||||
        <input type="checkbox" id="extMod" checked>
 | 
					        <input type="checkbox" id="extMod" checked>
 | 
				
			||||||
        <span class="checkmark"></span>
 | 
					        <span class="checkmark"></span>
 | 
				
			||||||
    </label>
 | 
					    </label>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <label for="http3">
 | 
					    <label for="http3">
 | 
				
			||||||
        <p>HTTP/3:</p>
 | 
					        <p>HTTP/3:</p>
 | 
				
			||||||
        <input type="checkbox" id="http3">
 | 
					        <input type="checkbox" id="http3">
 | 
				
			||||||
        <span class="checkmark"></span>
 | 
					        <span class="checkmark"></span>
 | 
				
			||||||
    </label>
 | 
					    </label>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <label for="service">
 | 
					    <label for="service">
 | 
				
			||||||
        <p>Run as service:</p>
 | 
					        <p>Run as service:</p>
 | 
				
			||||||
        <input type="checkbox" id="service">
 | 
					        <input type="checkbox" id="service">
 | 
				
			||||||
        <span class="checkmark"></span>
 | 
					        <span class="checkmark"></span>
 | 
				
			||||||
    </label>
 | 
					    </label>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <button id="submit" class="centered-button">Generate Script</button>
 | 
					    <button id="submit" class="centered-button">Generate Script</button>
 | 
				
			||||||
    <code lang="bash" id="script"></code>
 | 
					    <code lang="bash" id="script"></code>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										20
									
								
								style.css
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								style.css
									
									
									
									
									
								
							@ -17,19 +17,30 @@ body {
 | 
				
			|||||||
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 | 
					    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 | 
				
			||||||
    border-radius: 10px;
 | 
					    border-radius: 10px;
 | 
				
			||||||
    width: fit-content; /* Adjust the width to fit the content */
 | 
					    width: fit-content; /* Adjust the width to fit the content */
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					p {
 | 
				
			||||||
 | 
					    padding: 0px;
 | 
				
			||||||
 | 
					    margin: 0px 2px 0px 0px;
 | 
				
			||||||
 | 
					    font-size: 14px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					* {
 | 
				
			||||||
 | 
					    font-family: 'JetBrains Mono', serif;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
label {
 | 
					label {
 | 
				
			||||||
    display: flex;
 | 
					    display: flex;
 | 
				
			||||||
    align-items: center; /* Align label text with checkbox */
 | 
					    align-items: center; /* Align label text with checkbox */
 | 
				
			||||||
    margin: 10px 0;
 | 
					 | 
				
			||||||
    position: relative;
 | 
					    position: relative;
 | 
				
			||||||
    cursor: pointer;
 | 
					    cursor: pointer;
 | 
				
			||||||
 | 
					    margin-left: auto;
 | 
				
			||||||
 | 
					    margin-right: auto;
 | 
				
			||||||
 | 
					    padding: 5px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Adjust the spacing specifically for the first label */
 | 
					/* Adjust the spacing specifically for the first label */
 | 
				
			||||||
label:first-child {
 | 
					label:first-child {
 | 
				
			||||||
    margin-bottom: 20px; /* Increase spacing below the first label */
 | 
					 | 
				
			||||||
    width: 80%;
 | 
					    width: 80%;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -39,11 +50,6 @@ input[type="text"] {
 | 
				
			|||||||
    box-sizing: border-box; /* Include padding and border in the element's total width */
 | 
					    box-sizing: border-box; /* Include padding and border in the element's total width */
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Style for checkboxes */
 | 
					 | 
				
			||||||
input[type="checkbox"] {
 | 
					 | 
				
			||||||
    margin-right: 10px; /* Space between checkbox and label text */
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/* Styling for links */
 | 
					/* Styling for links */
 | 
				
			||||||
a {
 | 
					a {
 | 
				
			||||||
    color: blue;
 | 
					    color: blue;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user