diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-09-12 14:17:19 +0200 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-09-12 14:17:19 +0200 |
commit | f3039744d72454e7e3b8cb1032266bcc172ce488 (patch) | |
tree | 5a92a698056e2cbec6f0b121a9ce31596e4a4581 /src |
Initial commit
Diffstat (limited to 'src')
-rw-r--r-- | src/index.html.erb | 9 | ||||
-rw-r--r-- | src/style.css | 31 |
2 files changed, 40 insertions, 0 deletions
diff --git a/src/index.html.erb b/src/index.html.erb new file mode 100644 index 0000000..2008d11 --- /dev/null +++ b/src/index.html.erb @@ -0,0 +1,9 @@ +Ĺšpiewnik polskiej muzyki tradycyjnej. + +<ul> +<%- songs.each_value do |song| -%> + <li> + <a href='<%= path_to (song_html song.id) %>'><%= song.title %></a> + </li> +<%- end -%> +</ul> diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..f6ec3cc --- /dev/null +++ b/src/style.css @@ -0,0 +1,31 @@ +body { + margin: 40px auto; + max-width: 800px; + line-height: 1.6; + font-size: 18px; + padding: 0 10px; +} + +a { + color: darkblue; + text-decoration: none; +} + +a:hover { + color: #55f; +} + +ul { + list-style-type: ''; + column-count: 3; +} + +li { + margin-top: 10px; + margin-bottom: 10px; + padding-left: 0.7em; +} + +h1, h2, h3 { + line-height: 1.2 +} |