-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathretro.patch
63 lines (58 loc) · 2.04 KB
/
retro.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
From 1ca8280d9e6f7d5c2571902813dc2d02f5be07b5 Mon Sep 17 00:00:00 2001
From: Saad Malik <[email protected]>
Date: Sun, 3 Jan 2021 22:52:43 -0800
Subject: [PATCH] Retro hipster
* Starry nights background
* Retro colors
---
templates/header.html | 14 +++++++++++++-
templates/home.html | 4 ++--
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/templates/header.html b/templates/header.html
index 62444cf..1a1cf7d 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -5,8 +5,20 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>Hipster Shop</title>
+ <title>Hipster Shop 1.1</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
+ <style>
+ body {
+ filter: invert(1);
+ }
+ /*img {
+ filter: invert(0);
+ }*/
+ .darky {
+ background-image: url(/static/img/stars.jpg);
+ filter: invert(1);
+ }
+ </style>
</head>
<body>
diff --git a/templates/home.html b/templates/home.html
index 1d97c6a..36f27b1 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -20,7 +20,7 @@
</div>
</section>
- <div class="py-5 bg-light">
+ <div class="py-5 bg-light darky">
<div class="container">
<div class="row">
{{ range $.products }}
@@ -42,7 +42,7 @@
</a>
</div>
<small class="text-muted">
- {{ renderMoney .Price }}
+ {{ renderMoney .Price }}
</strong>
</small>
</div>
--
2.24.3 (Apple Git-128)