on master help sign in
fixed the highlight bug of the header with user-select: none; and added GA scripts
commit3505b369b3c117bac1731ab75395bd9e1209783b authorfriederjanmoerman <hijbrid@gmail.com> dateWed 8 May 2019, 14:22 (7 years ago) parentb6a926b
2 files changed+20−2
sass/_main.scss+13−2 templates/base.html+7
sass/_main.scss+13−2
@@ -168,6 +168,13 @@ iframe {
168168 width: 100%;
169169 z-index: 2;
170170 top: 0;
171+ -webkit-touch-callout: none; /* iOS Safari */
172+ -webkit-user-select: none; /* Safari */
173+ -khtml-user-select: none; /* Konqueror HTML */
174+ -moz-user-select: none; /* Firefox */
175+ -ms-user-select: none; /* Internet Explorer/Edge */
176+ user-select: none; /* Non-prefixed version, currently
177+ supported by Chrome and Opera */
171178 &__navigation {
172179 display: none;
173180 padding-top: 9rem;
@@ -204,6 +211,7 @@ iframe {
204211
205212.has-active-main-nav {
206213 .header {
214+ z-index: 4;
207215 &__navigation {
208216 position: fixed;
209217 height: 100%;
@@ -226,8 +234,11 @@ iframe {
226234 }
227235}
228236
229−.posts__content {
230− margin-left: -8rem;
237+.posts {
238+ &__content {
239+ z-index: 3;
240+ margin-left: -8rem;
241+ }
231242}
232243
233244.footer {
templates/base.html+7
@@ -11,6 +11,13 @@
1111 <title>{{ config.title }}</title>
1212 <!-- stylesheets -->
1313 <link rel="stylesheet" href="{{ config.base_url }}/styles.css" >
14+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-47054188-1"></script>
15+ <script>
16+ window.dataLayer = window.dataLayer || [];
17+ function gtag(){dataLayer.push(arguments);}
18+ gtag('js', new Date());
19+ gtag('config', 'UA-47054188-1');
20+ </script>
1421 </head>
1522 <body class="bg-white black">
1623 <!-- content -->