on master help sign in
fixed the highlight bug of the header with user-select: none; and added GA scripts
3505b36friederjanmoerman
sass/_main.scss+13−2
@@ -168,6 +168,13 @@ iframe {
168 width: 100%;
168 width: 100%;
169 z-index: 2;
169 z-index: 2;
170 top: 0;
170 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 */
171 &__navigation {
178 &__navigation {
172 display: none;
179 display: none;
173 padding-top: 9rem;
180 padding-top: 9rem;
@@ -204,6 +211,7 @@ iframe {
204
211
205.has-active-main-nav {
212.has-active-main-nav {
206 .header {
213 .header {
214+ z-index: 4;
207 &__navigation {
215 &__navigation {
208 position: fixed;
216 position: fixed;
209 height: 100%;
217 height: 100%;
@@ -226,8 +234,11 @@ iframe {
226 }
234 }
227}
235}
228
236
229−.posts__content {
237+.posts {
238+ &__content {
239+ z-index: 3;
230− margin-left: -8rem;
240+ margin-left: -8rem;
241+ }
231}
242}
232
243
233.footer {
244.footer {
templates/base.html+7
@@ -11,6 +11,13 @@
11 <title>{{ config.title }}</title>
11 <title>{{ config.title }}</title>
12 <!-- stylesheets -->
12 <!-- stylesheets -->
13 <link rel="stylesheet" href="{{ config.base_url }}/styles.css" >
13 <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>
14 </head>
21 </head>
15 <body class="bg-white black">
22 <body class="bg-white black">
16 <!-- content -->
23 <!-- content -->