Ver código fonte

thank you sir

simon 1 ano atrás
pai
commit
c09b2a55b8
3 arquivos alterados com 15 adições e 2 exclusões
  1. 0 1
      src/components/app.astro
  2. 1 1
      src/components/projects.astro
  3. 14 0
      src/layouts/Layout.astro

+ 0 - 1
src/components/app.astro

@@ -24,7 +24,6 @@ let itemName = app.name.replace(" ", "");
 	h3 {
 		font-weight: 300;
 		/* font-family: Arial, sans-serif; */
-		font-family: "Pixelated MS Sans Serif", Arial;
 	}
 
 	a {

+ 1 - 1
src/components/projects.astro

@@ -33,7 +33,7 @@ console.log(projects);
 						>
 							<img src={scriptIcon.src} class="w-auto h-16" />
 							<h3
-								class="font-sans text-lg"
+								class="text-lg"
 								style="white-space: normal; overflow-wrap: break-word; text-align: center;"
 							>
 								{item.title}

+ 14 - 0
src/layouts/Layout.astro

@@ -22,6 +22,20 @@ const { title } = Astro.props;
 	</body>
 </html>
 <style is:global>
+	* {
+
+		/* windows 98 look */
+		font-smooth: never;
+		-webkit-font-smoothing: none;
+		-moz-osx-font-smoothing: none; 
+		
+		image-rendering: pixelated;
+
+		font-family: "Pixelated MS Sans Serif", Arial !important;
+
+
+
+	}
 	body {
 		background-color: #008080;
 		max-width: 100vw;