summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-10-26 16:37:12 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-10-26 16:50:18 +0800
commitf6d945cd589921886508f7e4338bd4549dab28d3 (patch)
tree1d1adc2b1c5c60d17fddb64eea37620dd5291510
parent8b950000ad6e6614b9fb82bf3128aeeb92364611 (diff)
downloadwww-f6d945cd589921886508f7e4338bd4549dab28d3.tar.gz
Fix css for firefox android and other mobile.
-rw-r--r--_includes/header.html3
-rw-r--r--_includes/nav.html2
-rw-r--r--_site/404.html5
-rw-r--r--_site/about/index.html5
-rw-r--r--_site/archive/arduino-due/index.html5
-rw-r--r--_site/archive/arduino-uno/index.html5
-rw-r--r--_site/archive/awesome-books/index.html5
-rw-r--r--_site/archive/index.html5
-rw-r--r--_site/archive/mosfet-switches/index.html5
-rw-r--r--_site/archive/my-first-pcb/index.html5
-rw-r--r--_site/archive/neo4j-a-star-search/index.html5
-rw-r--r--_site/assets/css/main.css18
-rw-r--r--_site/assets/css/skeleton.css14
-rw-r--r--_site/feed.xml4
-rw-r--r--_site/index.html5
-rw-r--r--_site/posts.xml2
-rw-r--r--_site/projects/bumblebee/index.html5
-rw-r--r--_site/projects/desktop-unix/index.html5
-rw-r--r--_site/projects/e-reader/index.html5
-rw-r--r--_site/projects/etlas/index.html5
-rw-r--r--_site/projects/fpm-door-lock/index.html5
-rw-r--r--_site/projects/index.html5
-rw-r--r--_site/projects/matrix-digital-rain/index.html5
-rw-r--r--assets/css/main.css18
-rw-r--r--assets/css/skeleton.css14
25 files changed, 91 insertions, 69 deletions
diff --git a/_includes/header.html b/_includes/header.html
index d83b3ea..610976f 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -1,5 +1,6 @@
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
diff --git a/_includes/nav.html b/_includes/nav.html
index 471012c..985d635 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -8,7 +8,7 @@
<a href="{{ site.baseurl }}/archive/">arc</a>
</li>
<li {% if parts[1] == "projects" %}class="active"{% endif %}>
- <a href="{{ site.baseurl }}/projects/">pjt</a>
+ <a href="{{ site.baseurl }}/projects/">prj</a>
</li>
<li {% if page.url == "/about/" %}class="active"{% endif %}>
<a href="{{ site.baseurl }}/about/">abt</a>
diff --git a/_site/404.html b/_site/404.html
index e402e1d..d8141f6 100644
--- a/_site/404.html
+++ b/_site/404.html
@@ -2,7 +2,8 @@
<html lang="en-us">
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -22,7 +23,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/about/index.html b/_site/about/index.html
index ec6cd3c..4ac3a14 100644
--- a/_site/about/index.html
+++ b/_site/about/index.html
@@ -2,7 +2,8 @@
<html lang="en-us">
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>About</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -22,7 +23,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li class="active">
<a href="/about/">abt</a>
diff --git a/_site/archive/arduino-due/index.html b/_site/archive/arduino-due/index.html
index 0588738..f8a26bf 100644
--- a/_site/archive/arduino-due/index.html
+++ b/_site/archive/arduino-due/index.html
@@ -5,7 +5,8 @@
<title>Bare-metal ARM Cortex M3 chips</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bare-metal ARM Cortex M3 chips</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/archive/arduino-uno/index.html b/_site/archive/arduino-uno/index.html
index d71c5e8..348b2a8 100644
--- a/_site/archive/arduino-uno/index.html
+++ b/_site/archive/arduino-uno/index.html
@@ -5,7 +5,8 @@
<title>Notes on programming ATmega328P chips</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Notes on programming ATmega328P chips</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/archive/awesome-books/index.html b/_site/archive/awesome-books/index.html
index 3a3df2b..a0d44ff 100644
--- a/_site/archive/awesome-books/index.html
+++ b/_site/archive/awesome-books/index.html
@@ -5,7 +5,8 @@
<title>Awesome books</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Awesome books</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/archive/index.html b/_site/archive/index.html
index ca2f1a6..bfecbe5 100644
--- a/_site/archive/index.html
+++ b/_site/archive/index.html
@@ -2,7 +2,8 @@
<html lang="en-us">
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Archive</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -22,7 +23,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/archive/mosfet-switches/index.html b/_site/archive/mosfet-switches/index.html
index e51a8ed..861b9e7 100644
--- a/_site/archive/mosfet-switches/index.html
+++ b/_site/archive/mosfet-switches/index.html
@@ -5,7 +5,8 @@
<title>MOSFETs</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>MOSFETs</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/archive/my-first-pcb/index.html b/_site/archive/my-first-pcb/index.html
index aa22594..5dc9114 100644
--- a/_site/archive/my-first-pcb/index.html
+++ b/_site/archive/my-first-pcb/index.html
@@ -5,7 +5,8 @@
<title>My first PCB</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>My first PCB</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/archive/neo4j-a-star-search/index.html b/_site/archive/neo4j-a-star-search/index.html
index a9ebe7a..f863b61 100644
--- a/_site/archive/neo4j-a-star-search/index.html
+++ b/_site/archive/neo4j-a-star-search/index.html
@@ -5,7 +5,8 @@
<title>Neo4J A* search</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Neo4J A* search</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/assets/css/main.css b/_site/assets/css/main.css
index 19a64a2..8ef0b4d 100644
--- a/_site/assets/css/main.css
+++ b/_site/assets/css/main.css
@@ -101,10 +101,26 @@ td {
padding-top: 20px;
}
-.title{
+.title {
font-size: 3.5em;
}
+@media only screen and (max-device-width: 480px) {
+ /* firefox */
+ @supports (-moz-appearance: none) {
+ .title {
+ font-size: 1.8em !important;
+ }
+ }
+
+ /* other */
+ @supports (not (-moz-appearance: none)) {
+ .title {
+ font-size: 2.0em !important;
+ }
+ }
+}
+
.line{
max-width: 100%;
display: block;
diff --git a/_site/assets/css/skeleton.css b/_site/assets/css/skeleton.css
index 4153536..78a8573 100644
--- a/_site/assets/css/skeleton.css
+++ b/_site/assets/css/skeleton.css
@@ -148,20 +148,6 @@ h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
h6 { font-size: 1.5rem; }
}
-@media (max-width: 768px) {
- body {
- font-size: 3.0em;
- line-height: 1.2;
- }
-
- h1 { font-size: 6.0rem; }
- h2 { font-size: 5.0rem; }
- h3 { font-size: 4.0rem; }
- h4 { font-size: 4.0rem; }
- h5 { font-size: 2.4rem; }
- h6 { font-size: 1.5rem; }
-}
-
p {
margin-top: 0; }
diff --git a/_site/feed.xml b/_site/feed.xml
index 39a51b7..5ec6d51 100644
--- a/_site/feed.xml
+++ b/_site/feed.xml
@@ -1,2 +1,2 @@
-<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2025-10-26T16:04:53+08:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">ASCIIMX | Archive</title><subtitle>Simplicity is a great virtue, &lt;br&gt; but it requires hard work to achieve it and education &lt;br&gt; to appreciate it - Edsger W. Dijkstra
-</subtitle><author><name>Wickramage Don Sadeep Madurange</name></author><entry><title type="html">Neo4J A* search</title><link href="http://localhost:4000/archive/neo4j-a-star-search/" rel="alternate" type="text/html" title="Neo4J A* search" /><published>2025-09-14T00:00:00+08:00</published><updated>2025-09-14T00:00:00+08:00</updated><id>http://localhost:4000/archive/neo4j-a-star-search</id><author><name>Wickramage Don Sadeep Madurange</name></author><summary type="html"><![CDATA[Back in 2018, we used the Neo4J graph database to track the movement of marine vessels. We were interested in the shortest path a ship could take through a network of about 13,000 route points. Performance issues with Neo4J’s then-available shortest-path algorithms limited our search to about 4,000 route points.]]></summary></entry><entry><title type="html">My first PCB</title><link href="http://localhost:4000/archive/my-first-pcb/" rel="alternate" type="text/html" title="My first PCB" /><published>2025-07-14T00:00:00+08:00</published><updated>2025-07-14T00:00:00+08:00</updated><id>http://localhost:4000/archive/my-first-pcb</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[In 2023, I started tinkering with DIY electronics as a hobby. Until now, I’ve been using development boards like the Arduino Uno and ESP-32-WROOM so that I can focus on the software. Recently, I decided to step outside of my comfort zone and design a PCB from scratch for a door lock I’m working on.]]></summary></entry><entry><title type="html">MOSFETs</title><link href="http://localhost:4000/archive/mosfet-switches/" rel="alternate" type="text/html" title="MOSFETs" /><published>2025-06-22T00:00:00+08:00</published><updated>2025-06-22T00:00:00+08:00</updated><id>http://localhost:4000/archive/mosfet-switches</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[Recently, I needed a low-power circuit for one of my battery-operated projects. Much of the system’s power savings depended on its ability to switch off power to components, such as servos, electronically when not needed. That’s how I stumbled upon MOSFETs, transistors capable of controlling circuits operating at voltages far above their own.]]></summary></entry><entry><title type="html">Awesome books</title><link href="http://localhost:4000/archive/awesome-books/" rel="alternate" type="text/html" title="Awesome books" /><published>2025-04-20T00:00:00+08:00</published><updated>2025-04-20T00:00:00+08:00</updated><id>http://localhost:4000/archive/awesome-books</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[This article contains a list of my favourite books.]]></summary></entry><entry><title type="html">Notes on programming ATmega328P chips</title><link href="http://localhost:4000/archive/arduino-uno/" rel="alternate" type="text/html" title="Notes on programming ATmega328P chips" /><published>2025-04-10T00:00:00+08:00</published><updated>2025-04-10T00:00:00+08:00</updated><id>http://localhost:4000/archive/arduino-uno</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[This post is a step-by-step guide for wiring up ATmega328P ICs to run at 5 V with a 16 MHz crystal and 3.3 V with an 8 MHz crystal. While the 5 V configuration is common, the 3.3 V configuration can be advantageous in low-power applications and when interfacing with parts that run at 3.3 V.]]></summary></entry><entry><title type="html">Bare-metal ARM Cortex M3 chips</title><link href="http://localhost:4000/archive/arduino-due/" rel="alternate" type="text/html" title="Bare-metal ARM Cortex M3 chips" /><published>2024-10-05T00:00:00+08:00</published><updated>2024-10-05T00:00:00+08:00</updated><id>http://localhost:4000/archive/arduino-due</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[This post is about programming bare metal SAM3X8E Arm Cortex M3 chips found on Arduino Due boards. I had to learn how to do this because none of the high-level tools for programming Arduino Dues are available for OpenBSD, which I use for much of my personal computing.]]></summary></entry></feed> \ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2025-10-26T16:49:34+08:00</updated><id>/feed.xml</id><title type="html">ASCIIMX | Archive</title><subtitle>Simplicity is a great virtue, &lt;br&gt; but it requires hard work to achieve it and education &lt;br&gt; to appreciate it - Edsger W. Dijkstra
+</subtitle><author><name>Wickramage Don Sadeep Madurange</name></author><entry><title type="html">Neo4J A* search</title><link href="/archive/neo4j-a-star-search/" rel="alternate" type="text/html" title="Neo4J A* search" /><published>2025-09-14T00:00:00+08:00</published><updated>2025-09-14T00:00:00+08:00</updated><id>/archive/neo4j-a-star-search</id><author><name>Wickramage Don Sadeep Madurange</name></author><summary type="html"><![CDATA[Back in 2018, we used the Neo4J graph database to track the movement of marine vessels. We were interested in the shortest path a ship could take through a network of about 13,000 route points. Performance issues with Neo4J’s then-available shortest-path algorithms limited our search to about 4,000 route points.]]></summary></entry><entry><title type="html">My first PCB</title><link href="/archive/my-first-pcb/" rel="alternate" type="text/html" title="My first PCB" /><published>2025-07-14T00:00:00+08:00</published><updated>2025-07-14T00:00:00+08:00</updated><id>/archive/my-first-pcb</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[In 2023, I started tinkering with DIY electronics as a hobby. Until now, I’ve been using development boards like the Arduino Uno and ESP-32-WROOM so that I can focus on the software. Recently, I decided to step outside of my comfort zone and design a PCB from scratch for a door lock I’m working on.]]></summary></entry><entry><title type="html">MOSFETs</title><link href="/archive/mosfet-switches/" rel="alternate" type="text/html" title="MOSFETs" /><published>2025-06-22T00:00:00+08:00</published><updated>2025-06-22T00:00:00+08:00</updated><id>/archive/mosfet-switches</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[Recently, I needed a low-power circuit for one of my battery-operated projects. Much of the system’s power savings depended on its ability to switch off power to components, such as servos, electronically when not needed. That’s how I stumbled upon MOSFETs, transistors capable of controlling circuits operating at voltages far above their own.]]></summary></entry><entry><title type="html">Awesome books</title><link href="/archive/awesome-books/" rel="alternate" type="text/html" title="Awesome books" /><published>2025-04-20T00:00:00+08:00</published><updated>2025-04-20T00:00:00+08:00</updated><id>/archive/awesome-books</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[This article contains a list of my favourite books.]]></summary></entry><entry><title type="html">Notes on programming ATmega328P chips</title><link href="/archive/arduino-uno/" rel="alternate" type="text/html" title="Notes on programming ATmega328P chips" /><published>2025-04-10T00:00:00+08:00</published><updated>2025-04-10T00:00:00+08:00</updated><id>/archive/arduino-uno</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[This post is a step-by-step guide for wiring up ATmega328P ICs to run at 5 V with a 16 MHz crystal and 3.3 V with an 8 MHz crystal. While the 5 V configuration is common, the 3.3 V configuration can be advantageous in low-power applications and when interfacing with parts that run at 3.3 V.]]></summary></entry><entry><title type="html">Bare-metal ARM Cortex M3 chips</title><link href="/archive/arduino-due/" rel="alternate" type="text/html" title="Bare-metal ARM Cortex M3 chips" /><published>2024-10-05T00:00:00+08:00</published><updated>2024-10-05T00:00:00+08:00</updated><id>/archive/arduino-due</id><author><name>W. D. Sadeep Madurange</name></author><summary type="html"><![CDATA[This post is about programming bare metal SAM3X8E Arm Cortex M3 chips found on Arduino Due boards. I had to learn how to do this because none of the high-level tools for programming Arduino Dues are available for OpenBSD, which I use for much of my personal computing.]]></summary></entry></feed> \ No newline at end of file
diff --git a/_site/index.html b/_site/index.html
index 2555d41..209dcc0 100644
--- a/_site/index.html
+++ b/_site/index.html
@@ -2,7 +2,8 @@
<html lang="en-us">
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>ASCIIMX</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -22,7 +23,7 @@
<a href="/archive/">arc</a>
</li>
<li >
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/posts.xml b/_site/posts.xml
index 1f2a7d7..19a1279 100644
--- a/_site/posts.xml
+++ b/_site/posts.xml
@@ -1,2 +1,2 @@
-<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="http://localhost:4000/posts.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2025-10-26T16:04:53+08:00</updated><id>http://localhost:4000/posts.xml</id><title type="html">ASCIIMX</title><subtitle>Simplicity is a great virtue, &lt;br&gt; but it requires hard work to achieve it and education &lt;br&gt; to appreciate it - Edsger W. Dijkstra
+<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="/posts.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2025-10-26T16:49:34+08:00</updated><id>/posts.xml</id><title type="html">ASCIIMX</title><subtitle>Simplicity is a great virtue, &lt;br&gt; but it requires hard work to achieve it and education &lt;br&gt; to appreciate it - Edsger W. Dijkstra
</subtitle><author><name>Wickramage Don Sadeep Madurange</name></author></feed> \ No newline at end of file
diff --git a/_site/projects/bumblebee/index.html b/_site/projects/bumblebee/index.html
index dc0a360..b229011 100644
--- a/_site/projects/bumblebee/index.html
+++ b/_site/projects/bumblebee/index.html
@@ -5,7 +5,8 @@
<title>Bumblebee: turn browser sessions to code</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bumblebee: turn browser sessions to code</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li class="active">
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/projects/desktop-unix/index.html b/_site/projects/desktop-unix/index.html
index 3b522e2..b65680a 100644
--- a/_site/projects/desktop-unix/index.html
+++ b/_site/projects/desktop-unix/index.html
@@ -5,7 +5,8 @@
<title>Unix for the desktop</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Unix for the desktop</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li class="active">
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/projects/e-reader/index.html b/_site/projects/e-reader/index.html
index 257ff98..e261650 100644
--- a/_site/projects/e-reader/index.html
+++ b/_site/projects/e-reader/index.html
@@ -5,7 +5,8 @@
<title>Prototype e-reader</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Prototype e-reader</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li class="active">
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/projects/etlas/index.html b/_site/projects/etlas/index.html
index 1823528..d946b53 100644
--- a/_site/projects/etlas/index.html
+++ b/_site/projects/etlas/index.html
@@ -5,7 +5,8 @@
<title>Etlas: e-paper display for news, stocks, and the weather</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Etlas: e-paper display for news, stocks, and the weather</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li class="active">
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/projects/fpm-door-lock/index.html b/_site/projects/fpm-door-lock/index.html
index 8396b7e..b3ede76 100644
--- a/_site/projects/fpm-door-lock/index.html
+++ b/_site/projects/fpm-door-lock/index.html
@@ -5,7 +5,8 @@
<title>Fingerprint door lock</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Fingerprint door lock</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li class="active">
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/projects/index.html b/_site/projects/index.html
index ca0e59f..8b6f9b8 100644
--- a/_site/projects/index.html
+++ b/_site/projects/index.html
@@ -2,7 +2,8 @@
<html lang="en-us">
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Projects</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -22,7 +23,7 @@
<a href="/archive/">arc</a>
</li>
<li class="active">
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/_site/projects/matrix-digital-rain/index.html b/_site/projects/matrix-digital-rain/index.html
index b559edd..5f151ea 100644
--- a/_site/projects/matrix-digital-rain/index.html
+++ b/_site/projects/matrix-digital-rain/index.html
@@ -5,7 +5,8 @@
<title>The Matrix digital rain</title>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>The Matrix digital rain</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
@@ -26,7 +27,7 @@
<a href="/archive/">arc</a>
</li>
<li class="active">
- <a href="/projects/">pjt</a>
+ <a href="/projects/">prj</a>
</li>
<li >
<a href="/about/">abt</a>
diff --git a/assets/css/main.css b/assets/css/main.css
index 19a64a2..8ef0b4d 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -101,10 +101,26 @@ td {
padding-top: 20px;
}
-.title{
+.title {
font-size: 3.5em;
}
+@media only screen and (max-device-width: 480px) {
+ /* firefox */
+ @supports (-moz-appearance: none) {
+ .title {
+ font-size: 1.8em !important;
+ }
+ }
+
+ /* other */
+ @supports (not (-moz-appearance: none)) {
+ .title {
+ font-size: 2.0em !important;
+ }
+ }
+}
+
.line{
max-width: 100%;
display: block;
diff --git a/assets/css/skeleton.css b/assets/css/skeleton.css
index 4153536..78a8573 100644
--- a/assets/css/skeleton.css
+++ b/assets/css/skeleton.css
@@ -148,20 +148,6 @@ h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
h6 { font-size: 1.5rem; }
}
-@media (max-width: 768px) {
- body {
- font-size: 3.0em;
- line-height: 1.2;
- }
-
- h1 { font-size: 6.0rem; }
- h2 { font-size: 5.0rem; }
- h3 { font-size: 4.0rem; }
- h4 { font-size: 4.0rem; }
- h5 { font-size: 2.4rem; }
- h6 { font-size: 1.5rem; }
-}
-
p {
margin-top: 0; }