Rename .min.css files to .css
This commit is contained in:
		
					parent
					
						
							
								6ffd5d8c5c
							
						
					
				
			
			
				commit
				
					
						1d76709b91
					
				
			
		
					 11 changed files with 27 additions and 29 deletions
				
			
		|  | @ -5,7 +5,7 @@ | ||||||
| 	<title>Calculators</title> | 	<title>Calculators</title> | ||||||
| 	<meta charset="utf-8"> | 	<meta charset="utf-8"> | ||||||
| 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||||||
| 	<link rel="stylesheet" id="theme" href="../res/css/dark.min.css" type="text/css" /> | 	<link rel="stylesheet" id="theme" href="../res/css/dark.css" type="text/css" /> | ||||||
| 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | ||||||
| 
 | 
 | ||||||
|     <meta property="og:type" content="website"> |     <meta property="og:type" content="website"> | ||||||
|  |  | ||||||
|  | @ -5,7 +5,7 @@ | ||||||
| 	<title>Calculators</title> | 	<title>Calculators</title> | ||||||
| 	<meta charset="utf-8"> | 	<meta charset="utf-8"> | ||||||
| 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||||||
| 	<link rel="stylesheet" id="theme" href="../res/css/dark.min.css" type="text/css" /> | 	<link rel="stylesheet" id="theme" href="../res/css/dark.css" type="text/css" /> | ||||||
| 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | ||||||
| 
 | 
 | ||||||
|     <meta property="og:type" content="website"> |     <meta property="og:type" content="website"> | ||||||
|  |  | ||||||
							
								
								
									
										34
									
								
								header.php
									
										
									
									
									
								
							
							
						
						
									
										34
									
								
								header.php
									
										
									
									
									
								
							|  | @ -1,19 +1,16 @@ | ||||||
| <?php |  | ||||||
| ini_set('display_errors', 1); |  | ||||||
| ini_set('display_startup_errors', 1); |  | ||||||
| error_reporting(E_ALL); |  | ||||||
| ?>
 |  | ||||||
| 
 |  | ||||||
| <div class="header"> | <div class="header"> | ||||||
| 	<nav> | 	<nav> | ||||||
| 		<div> | 		<div> | ||||||
| 			<a href="./me/">about</a> | | 			<!--<a href="/me/">about</a> | | ||||||
| 			<a href="./pics/">pics</a> | | 			<a href="/projects/">projects</a> | | ||||||
| 			<a href="./projects/">projects</a> | | 			<a href="/pics/">pics</a> |--> | ||||||
| 			<a href="./cgit">repos</a> | | 			<a href="/dog/">dog</a> | | ||||||
| 			<a href="./calculators/">calculators</a> | | 			<a href="https://github.com/floppydisk05?tab=repositories">repos</a> | | ||||||
| 			<a href="./computers/">computers</a> | | 			<a href="/calculators/">calculators</a> | | ||||||
|  | 			<a href="/computers/">computers</a> | | ||||||
|  | 			<a href="/bookmarks/">bookmarks</a> | | ||||||
|             <a href="https://blog.diskfloppy.me/">blog</a> |             <a href="https://blog.diskfloppy.me/">blog</a> | ||||||
|  | 			<!--<a href="/sitemap/">sitemap</a>--> | ||||||
| 		</div> | 		</div> | ||||||
| 	</nav> | 	</nav> | ||||||
| 	<div class="pagetree"> | 	<div class="pagetree"> | ||||||
|  | @ -21,21 +18,18 @@ | ||||||
| 			<span class="title"> | 			<span class="title"> | ||||||
| 				<?php | 				<?php | ||||||
| 				$uri = $_SERVER['REQUEST_URI']; | 				$uri = $_SERVER['REQUEST_URI']; | ||||||
| 				if ($uri === '/') { | 				if ($uri === '/') { echo '~floppydisk'; } | ||||||
| 					echo '~floppydisk'; | 				else { | ||||||
| 				} else { |  | ||||||
| 					$uri = substr(substr($uri, 1), 0, -1); | 					$uri = substr(substr($uri, 1), 0, -1); | ||||||
| 					if (strpos($uri, '/')) { | 					if (!strpos($uri, '/')) { | ||||||
| 						$uriArr = explode('/', $uri); | 						$uriArr = explode('/', $uri); | ||||||
| 						$link = "/"; | 						$link = "/"; | ||||||
| 						$links = '<a href="/">~floppydisk</a> / '; | 						$links = '<a href="/">~floppydisk</a> / '; | ||||||
| 						$currentDir = basename(getcwd()); | 						$currentDir = basename(getcwd()); | ||||||
| 						foreach($uriArr as $page) { | 						foreach($uriArr as $page) { | ||||||
| 							if ($page !== $currentDir) { | 							if ($page !== $currentDir) { | ||||||
| 								if ($link !== '/') | 								if ($link !== '/') $link = $link . '/' . $page; | ||||||
| 									$link = $link . '/' . $page; | 								else $link = $link . $page; | ||||||
| 								else |  | ||||||
| 									$link = $link . $page; |  | ||||||
| 								$links = $links . '<a href="' . $link . '">' . $page . '</a> / '; | 								$links = $links . '<a href="' . $link . '">' . $page . '</a> / '; | ||||||
| 							} | 							} | ||||||
| 						} | 						} | ||||||
|  |  | ||||||
|  | @ -5,7 +5,7 @@ | ||||||
| 	<title>~floppydisk</title> | 	<title>~floppydisk</title> | ||||||
| 	<meta charset="utf-8"> | 	<meta charset="utf-8"> | ||||||
| 	<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | 	<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||
| 	<link rel="stylesheet" id="theme" href="./res/css/dark.min.css" type="text/css" /> | 	<link rel="stylesheet" id="theme" href="./res/css/dark.css" type="text/css" /> | ||||||
| 	 | 	 | ||||||
|     <meta property="og:type" content="website"> |     <meta property="og:type" content="website"> | ||||||
| 	<meta property="og:title" content="~floppydisk"> | 	<meta property="og:title" content="~floppydisk"> | ||||||
|  | @ -15,7 +15,7 @@ | ||||||
| 	<!--<script lang="javascript" href="/res/js/themeswap.js"></script>--> | 	<!--<script lang="javascript" href="/res/js/themeswap.js"></script>--> | ||||||
| 	<script> | 	<script> | ||||||
| 		function addStyleSheet(name, id) { | 		function addStyleSheet(name, id) { | ||||||
| 			var path = '/res/css/' + name + '.min.css'; | 			var path = '/res/css/' + name + '.css'; | ||||||
| 			var old = document.getElementById(id); | 			var old = document.getElementById(id); | ||||||
| 			if (old && (old.href != path)) { | 			if (old && (old.href != path)) { | ||||||
| 				old.href = path; | 				old.href = path; | ||||||
|  |  | ||||||
|  | @ -5,7 +5,7 @@ | ||||||
| 	<title>Calculators</title> | 	<title>Calculators</title> | ||||||
| 	<meta charset="utf-8"> | 	<meta charset="utf-8"> | ||||||
| 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||||||
| 	<link rel="stylesheet" id="theme" href="../res/css/dark.min.css" type="text/css" /> | 	<link rel="stylesheet" id="theme" href="../res/css/dark.css" type="text/css" /> | ||||||
| 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | ||||||
| 
 | 
 | ||||||
|     <meta property="og:type" content="website"> |     <meta property="og:type" content="website"> | ||||||
|  |  | ||||||
|  | @ -5,7 +5,7 @@ | ||||||
| 	<title>Calculators</title> | 	<title>Calculators</title> | ||||||
| 	<meta charset="utf-8"> | 	<meta charset="utf-8"> | ||||||
| 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||||||
| 	<link rel="stylesheet" id="theme" href="../res/css/dark.min.css" type="text/css" /> | 	<link rel="stylesheet" id="theme" href="../res/css/dark.css" type="text/css" /> | ||||||
| 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | ||||||
| 
 | 
 | ||||||
|     <meta property="og:type" content="website"> |     <meta property="og:type" content="website"> | ||||||
|  |  | ||||||
|  | @ -5,7 +5,7 @@ | ||||||
| 	<title>Calculators</title> | 	<title>Calculators</title> | ||||||
| 	<meta charset="utf-8"> | 	<meta charset="utf-8"> | ||||||
| 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||||||
| 	<link rel="stylesheet" id="theme" href="../res/css/dark.min.css" type="text/css" /> | 	<link rel="stylesheet" id="theme" href="../res/css/dark.css" type="text/css" /> | ||||||
| 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | ||||||
| 
 | 
 | ||||||
|     <meta property="og:type" content="website"> |     <meta property="og:type" content="website"> | ||||||
|  |  | ||||||
|  | @ -5,6 +5,10 @@ been moved to global.css and imported below. | ||||||
| */ | */ | ||||||
| @import url('global.css'); | @import url('global.css'); | ||||||
| 
 | 
 | ||||||
|  | html { | ||||||
|  |     color-scheme: dark; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| div.project pre { | div.project pre { | ||||||
|     border: 1px solid #666666 |     border: 1px solid #666666 | ||||||
| } | } | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| function addStyleSheet(name, id) { | function addStyleSheet(name, id) { | ||||||
| 	var path = '/res/css/' + name + '.min.css'; | 	var path = '/res/css/' + name + '.css'; | ||||||
| 	var old = document.getElementById(id); | 	var old = document.getElementById(id); | ||||||
| 	if (old && (old.href != path)) { | 	if (old && (old.href != path)) { | ||||||
| 		old.href = path; | 		old.href = path; | ||||||
|  |  | ||||||
|  | @ -5,7 +5,7 @@ | ||||||
| 	<title>Calculators</title> | 	<title>Calculators</title> | ||||||
| 	<meta charset="utf-8"> | 	<meta charset="utf-8"> | ||||||
| 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | 	<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||||||
| 	<link rel="stylesheet" id="theme" href="../res/css/dark.min.css" type="text/css" /> | 	<link rel="stylesheet" id="theme" href="../res/css/dark.css" type="text/css" /> | ||||||
| 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | 	<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon"> | ||||||
| 
 | 
 | ||||||
|     <meta property="og:type" content="website"> |     <meta property="og:type" content="website"> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frankie B
				Frankie B