summaryrefslogtreecommitdiffhomepage
path: root/template/src
diff options
context:
space:
mode:
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