~hristoast/mousikofidi

[PATCH 2/3] Added Terminal-Solarized theme

Ben Joyner
Details
Message ID
<ZaClqpn_QnCL48N1DzmkM-XGaCm0bWNOeJ4EqjoYNppDdXzDBtKbYabdiRW723xFVvX9HadVNj_PxTaEPfAajMSYngwWcfts7znr7lOfzoo=@protonmail.com>
DKIM signature
missing
Download raw message
Patch: +62 -2
---
 Makefile                                      |  6 +-
 mousikofidi/mousikofidi.py                    |  1 +
 mousikofidi/static/css/terminal-solarized.css | 56 +++++++++++++++++++
 .../static/css/terminal-solarized.min.css     |  1 +
 4 files changed, 62 insertions(+), 2 deletions(-)
 create mode 100644 mousikofidi/static/css/terminal-solarized.css
 create mode 100644 mousikofidi/static/css/terminal-solarized.min.css

diff --git a/Makefile b/Makefile
index ecd856e..8d87ee8 100644
--- a/Makefile
+++ b/Makefile
@@ -33,13 +33,15 @@ minify-css:
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/fidi.css -o $(proj_dir)/mousikofidi/static/css/fidi.min.css --charset utf-8
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/fidi-nes.css -o $(proj_dir)/mousikofidi/static/css/fidi-nes.min.css --charset utf-8
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal.css -o $(proj_dir)/mousikofidi/static/css/terminal.min.css --charset utf-8
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal.css -o $(proj_dir)/mousikofidi/static/css/terminal.min.css --charset utf-8
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal-green.css -o $(proj_dir)/mousikofidi/static/css/terminal-green.min.css --charset utf-8
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal-solarized.css -o $(proj_dir)/mousikofidi/static/css/terminal-solarized.min.css --charset utf-8

minify-css-quiet:
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/fidi.css -o $(proj_dir)/mousikofidi/static/css/fidi.min.css --charset utf-8
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/fidi-nes.css -o $(proj_dir)/mousikofidi/static/css/fidi-nes.min.css --charset utf-8
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal.css -o $(proj_dir)/mousikofidi/static/css/terminal.min.css --charset utf-8
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal.css -o $(proj_dir)/mousikofidi/static/css/terminal.min.css --charset utf-8
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal-green.css -o $(proj_dir)/mousikofidi/static/css/terminal-green.min.css --charset utf-8
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal-solarized.css -o $(proj_dir)/mousikofidi/static/css/terminal-solarized.min.css --charset utf-8

minify-js:
	yuicompressor --type js $(proj_dir)/mousikofidi/static/js/player.js -o $(proj_dir)/mousikofidi/static/js/player.min.js --charset utf-8
diff --git a/mousikofidi/mousikofidi.py b/mousikofidi/mousikofidi.py
index 4d55b1f..4e9fec8 100644
--- a/mousikofidi/mousikofidi.py
+++ b/mousikofidi/mousikofidi.py
@@ -54,6 +54,7 @@ THEMES = {
    "nes": "/css/nes/nes",
    "terminal": "/css/terminal",
    "terminal-green": "/css/terminal-green",
    "terminal-solarized": "/css/terminal-solarized",
}

try:
diff --git a/mousikofidi/static/css/terminal-solarized.css b/mousikofidi/static/css/terminal-solarized.css
new file mode 100644
index 0000000..c75a0d0
--- /dev/null
+++ b/mousikofidi/static/css/terminal-solarized.css
@@ -0,0 +1,56 @@
/*
Terminal.css for MousikóFídi
Copyright (C) 2019  ogenfald

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

body {
        background-color: #002B36;
        color: #839496;
        font-family: monospace;
        font-size: large;
}

a:link {
        color : #CB4B16;
}

a:visited {
        color: #CB4B16;
}

input[type=text] {
        border: 2px solid #CB4B16;
        background-color: #002B36;
        color: #839496;
}

input[type=submit] {
        border: 2px solid #CB4B16;
        background-color: #002B36;
        color: #839496;
}

select {
        border: 2px solid #CB4B16;
        background-color: #002B36;
        color: #839496;
}

button {
        border: 2px solid #CB4B16;
        background-color: #002B36;
        color: #839496;
}
diff --git a/mousikofidi/static/css/terminal-solarized.min.css b/mousikofidi/static/css/terminal-solarized.min.css
new file mode 100644
index 0000000..fad74ea
--- /dev/null
+++ b/mousikofidi/static/css/terminal-solarized.min.css
@@ -0,0 +1 @@
body{background-color:#002b36;color:#839496;font-family:monospace;font-size:large}a:link{color:#cb4b16}a:visited{color:#cb4b16}input[type=text]{border:2px solid #cb4b16;background-color:#002b36;color:#839496}input[type=submit]{border:2px solid #cb4b16;background-color:#002b36;color:#839496}select{border:2px solid #cb4b16;background-color:#002b36;color:#839496}button{border:2px solid #cb4b16;background-color:#002b36;color:#839496}
\ No newline at end of file
-- 
2.23.0
Reply to thread Export thread (mbox)