heisbuba commited on
Commit
35e5e52
·
verified ·
1 Parent(s): c2d4cbe

Update src/templates/base.html

Browse files
Files changed (1) hide show
  1. src/templates/base.html +9 -2
src/templates/base.html CHANGED
@@ -22,11 +22,12 @@
22
  <meta name="twitter:title" content="{% block twitter_title %}{{ self.og_title() }}{% endblock %}">
23
  <meta name="twitter:description" content="{% block twitter_description %}{{ self.og_description() }}{% endblock %}">
24
  <link rel="icon" type="image/svg+xml" href="{{ url_for('static', filename='logo.svg') }}">
25
- <link rel="apple-touch-icon" href="{{ url_for('static', filename='icons/icon-192.png') }}">
26
  <link rel="manifest" href="/manifest.json">
27
  <meta name="apple-mobile-web-app-capable" content="yes">
28
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
29
  <meta name="theme-color" content="#151a1e">
 
30
 
31
  <script>
32
  if ('serviceWorker' in navigator) {
@@ -42,6 +43,7 @@
42
  /* --- CSS VARIABLES --- */
43
  :root {
44
  /* Backgrounds */
 
45
  --bg-dark: #151a1e;
46
  --bg-card: #1e252a;
47
  --bg-glass: rgba(21, 26, 30, 0.90);
@@ -392,7 +394,12 @@ input:focus { outline: none; border-color: var(--accent-green); }
392
  padding: 30px 20px;
393
  }
394
  }
395
-
 
 
 
 
 
396
  </style>
397
  {% block extra_css %}{% endblock %}
398
  </head>
 
22
  <meta name="twitter:title" content="{% block twitter_title %}{{ self.og_title() }}{% endblock %}">
23
  <meta name="twitter:description" content="{% block twitter_description %}{{ self.og_description() }}{% endblock %}">
24
  <link rel="icon" type="image/svg+xml" href="{{ url_for('static', filename='logo.svg') }}">
25
+ <link rel="apple-touch-icon" href="{{ url_for('static', filename='icons/icon-512.png') }}">
26
  <link rel="manifest" href="/manifest.json">
27
  <meta name="apple-mobile-web-app-capable" content="yes">
28
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
29
  <meta name="theme-color" content="#151a1e">
30
+ <meta name="apple-mobile-web-app-capable" content="yes">
31
 
32
  <script>
33
  if ('serviceWorker' in navigator) {
 
43
  /* --- CSS VARIABLES --- */
44
  :root {
45
  /* Backgrounds */
46
+ --pwa-bg: #151a1e;
47
  --bg-dark: #151a1e;
48
  --bg-card: #1e252a;
49
  --bg-glass: rgba(21, 26, 30, 0.90);
 
394
  padding: 30px 20px;
395
  }
396
  }
397
+
398
+ @media (display-mode: standalone) {
399
+
400
+ body { background-color: var(--pwa-bg); }
401
+
402
+ }
403
  </style>
404
  {% block extra_css %}{% endblock %}
405
  </head>