about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-04-12 17:24:47 -0400
committerBen Morrison <ben@gbmor.dev>2020-04-12 17:25:19 -0400
commit0a69c582ec8b88b1d3af70ef43c3eeb1b99f973d (patch)
tree1041e985996aa4e3c4b1fc7ddea271b43a66f11f
parent0daa948c9c6b507f1f087d57941ef35c26c97ae0 (diff)
downloadgetwtxt-0a69c582ec8b88b1d3af70ef43c3eeb1b99f973d.tar.gz
added local copy of water.css v0.4.13
-rw-r--r--Makefile1
-rw-r--r--assets/style.css10
-rw-r--r--static/kognise.water.css.dark.min.css2
3 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3e76131..9d83b15 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,7 @@ install:
 	install -m644 getwtxt.yml $(BINDIR)
 	install -m644 assets/style.css $(BINDIR)/assets
 	install -m644 assets/tmpl/index.html $(BINDIR)/assets/tmpl
+	install -m644 static/kognise.water.css.dark.min.css $(BINDIR)/static
 	install -m644 README.md $(BINDIR)/docs
 	install -m644 LICENSE $(BINDIR)/docs
 	install -m644 etc/getwtxt.service /etc/systemd/system
diff --git a/assets/style.css b/assets/style.css
index 86f018d..5a8cb71 100644
--- a/assets/style.css
+++ b/assets/style.css
@@ -1,4 +1,4 @@
-@import url("https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/dark.min.css");
+@import 'static/kognise.water.css.dark.min.css';
 
 #container {
   max-width: 50rem;
@@ -15,7 +15,7 @@
 
 #subhead {
   text-align: right;
-  font-size: 2.0em;
+  font-size: 2em;
   font-family: monospace;
   margin-top: -2rem;
   padding-right: 0rem;
@@ -23,14 +23,14 @@
 }
 
 #body {
-  font-size: 1.0em;
+  font-size: 1em;
   margin-top: -1.5rem;
 }
 
 #info {
   font-family: monospace;
   font-size: 1.5em;
-  margin-top: -2.0rem;
+  margin-top: -2rem;
   padding-bottom: 2rem;
 }
 
@@ -48,6 +48,6 @@
 
 p {
   text-indent: 1.5em;
-  padding-top: 1.0rem;
+  padding-top: 1rem;
   margin-bottom: -0.3rem;
 }
diff --git a/static/kognise.water.css.dark.min.css b/static/kognise.water.css.dark.min.css
new file mode 100644
index 0000000..9ca1556
--- /dev/null
+++ b/static/kognise.water.css.dark.min.css
@@ -0,0 +1,2 @@
+@charset "UTF-8";body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.4;max-width:800px;margin:20px auto;padding:0 10px;color:#dbdbdb;background:#202b38;text-rendering:optimizeLegibility}button,input,textarea{transition:background-color .1s linear,border-color .1s linear,color .1s linear,box-shadow .1s linear,transform .1s ease}h1{font-size:2.2em;margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:12px}h1,h2,h3,h4,h5,h6,strong{color:#fff}b,h1,h2,h3,h4,h5,h6,strong,th{font-weight:600}blockquote{border-left:4px solid rgba(0,150,191,.67);margin:1.5em 0;padding:.5em 1em;font-style:italic}blockquote>footer{margin-top:10px;font-style:normal}address,blockquote cite{font-style:normal}a[href^=mailto]:before{content:"📧 "}a[href^=tel]:before{content:"📞 "}a[href^=sms]:before{content:"💬 "}button,input[type=button],input[type=checkbox],input[type=submit]{cursor:pointer}input:not([type=checkbox]):not([type=radio]),select{display:block}button,input,select,textarea{color:#fff;background-color:#161f27;font-family:inherit;font-size:inherit;margin-right:6px;margin-bottom:6px;padding:10px;border:none;border-radius:6px;outline:none}button,input:not([type=checkbox]):not([type=radio]),select,textarea{-webkit-appearance:none}textarea{margin-right:0;width:100%;box-sizing:border-box;resize:vertical}button,input[type=button],input[type=submit]{padding-right:30px;padding-left:30px}button:hover,input[type=button]:hover,input[type=submit]:hover{background:#324759}button:focus,input:focus,select:focus,textarea:focus{box-shadow:0 0 0 2px rgba(0,150,191,.67)}button:active,input[type=button]:active,input[type=checkbox]:active,input[type=radio]:active,input[type=submit]:active{transform:translateY(2px)}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.5}::-webkit-input-placeholder{color:#a9a9a9}:-ms-input-placeholder{color:#a9a9a9}::-ms-input-placeholder{color:#a9a9a9}::placeholder{color:#a9a9a9}a{text-decoration:none;color:#41adff}a:hover{text-decoration:underline}code,kbd{background:#161f27;color:#ffbe85;padding:5px;border-radius:6px}pre>code{padding:10px;display:block;overflow-x:auto}img{max-width:100%}hr{border:none;border-top:1px solid #dbdbdb}table{border-collapse:collapse;margin-bottom:10px;width:100%}td,th{padding:6px;text-align:left}th{border-bottom:1px solid #dbdbdb}tbody tr:nth-child(2n){background-color:#161f27}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#161f27;border-radius:6px}::-webkit-scrollbar-thumb{background:#324759;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#415c73}
+/*# sourceMappingURL=dark.min.css.map */