aboutsummaryrefslogtreecommitdiffstats
path: root/index.html.erb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-10-10 21:18:05 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-10-10 21:18:05 +0200
commitf2fb5a3301128f7be1743fa6fc9f5f53251536f0 (patch)
tree1596c572322c06fdadb47915cdee74c25430b27a /index.html.erb
parent0cb1be00f695b45453965bf5c3344f788308d850 (diff)
downloadramaskrik-program-f2fb5a3301128f7be1743fa6fc9f5f53251536f0.tar.gz
ramaskrik-program-f2fb5a3301128f7be1743fa6fc9f5f53251536f0.tar.bz2
ramaskrik-program-f2fb5a3301128f7be1743fa6fc9f5f53251536f0.zip
Move styling to separate file, and make prettier.
Diffstat (limited to 'index.html.erb')
-rw-r--r--index.html.erb45
1 files changed, 2 insertions, 43 deletions
diff --git a/index.html.erb b/index.html.erb
index 6b3c993..ad3f561 100644
--- a/index.html.erb
+++ b/index.html.erb
@@ -1,51 +1,10 @@
<!DOCTYPE html>
<html>
<head>
- <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= title %></title>
-<style>
-.events {
- display:flex;
- justify-content: space-around;
- width: 800px;
-}
-.event-column {
- width: 350px;
-}
-.event-column-inner,
-.time-column-inner {
- position: relative;
-}
-.timestamp {
- position: absolute;
- font-size: 10px;
-}
-.event-item {
- display: flex;
- position: absolute;
- background-color: #b8afaf;
- border: 1px solid #ccc;
- padding: 0.3em;
- color: #000;
- box-sizing: border-box;
- width: 100%;
-
- font-family: Helvetica;
- font-size: small;
-}
-.event-item.selected {
- background-color: #709270;
-}
-.event-item-image {
- float: left;
- margin-right: 0.3em;
-}
-.event-item-image img {
- width: 3em;
- object-fit: cover;
-}
-</style>
+ <link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<h1><%= title %></h1>