m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.html.erb9
-rw-r--r--src/style.css31
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
+}