summaryrefslogtreecommitdiffhomepage
path: root/template/src
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-04-21 08:51:32 -0400
committerrealtradam <[email protected]>2022-04-21 08:51:32 -0400
commit3249a3a131ae5d28b42ba70b85839314ed7c227c (patch)
treea9094a63f2a6e1b89c7c87b1ff0dbf8e01b2cef8 /template/src
parent8c0569bf34405dfdf0968b26f33dd70976866943 (diff)
downloadJusticar-0.1.1.tar.gz
Justicar-0.1.1.zip
prettifiedv0.1.1
Diffstat (limited to 'template/src')
-rw-r--r--template/src/index.html.rb2
-rw-r--r--template/src/style.css.rb13
2 files changed, 15 insertions, 0 deletions
diff --git a/template/src/index.html.rb b/template/src/index.html.rb
index cefcf6f..9c34064 100644
--- a/template/src/index.html.rb
+++ b/template/src/index.html.rb
@@ -1,6 +1,8 @@
Paggio.html do
script type: "text/javascript", src: "script.js"
link rel: "stylesheet", href: "style.css"
+ link rel: 'icon', type: 'image/x-icon', href: 'favicon.ico'
+ img.justicar(src: 'justicar.png', alt: 'Justicar', height: '400px')
h1 { "Hello world from Justicar" }
hr
h2.paggio do
diff --git a/template/src/style.css.rb b/template/src/style.css.rb
index d9684e3..9a41dad 100644
--- a/template/src/style.css.rb
+++ b/template/src/style.css.rb
@@ -1,4 +1,17 @@
Paggio.css do
+ rule 'body' do
+ height 100.vh
+ end
+
+ rule '.justicar' do
+ top 134.px
+ left 360.px
+ opacity 0.7
+ position 'absolute'
+ width 400.px
+ height 'auto'
+ end
+
rule '.opal' do
color :dodgerblue
end