diff --git a/index.html b/index.html index e28bf5a69819c448cc09edeb010333f5897e1615..7e2635dd811d33fa1b1918abb2886b3205f270f1 100644 --- a/index.html +++ b/index.html @@ -68,6 +68,23 @@
+ + + +- https://gabrielecirulli.github.io/2048 is operated and maintained by Gabriele Cirulli, + https://gabrielecirulli.github.io/2048 and https://play2048.co are operated and maintained by Gabriele Cirulli, @iirelu and - @sigod. This document outlines the data handling practices for this website. + @sigod. This website is hosted on servers operated by GitHub Inc. This document outlines the data handling practices for this website.
For analytics purposes, anonymous and aggregated data may be collected, using Google Analytics. This data includes:
+For analytics purposes, anonymous and aggregated data may be collected, using Google Analytics. Google AdSense, used on this website for advertsing purposes, may also collect similar data. This data includes:
For more information on how Google Analytics uses this data see: +
AdSense is used to publish ads on this site. Users in the European Economic Area (EEA) are served non-personalized ads (NPA), which do not track users and are not based on the user's past behavior on this or other websites. The following data may be used in order to serve NPAs:
+ +For all other users, personalized ads may be displayed. Personalized ads may use the following information:
+ +For more information on how Google Analytics and Google AdSense use this data see:
This website embeds social media features from Twitter. For information on Twitter's Cookie Policy please see: - https://help.twitter.com/en/rules-and-policies/twitter-cookies -
-This website uses Google Analytics. For information on Google Analytic's Cookie Policy please see: - https://support.google.com/analytics/answer/6004245 -
+If you have any questions, feel free to email me@gabrielecirulli.com diff --git a/style/main.css b/style/main.css index a8b5209ad781551f304d119993bab3e80d65d9b4..8dffd670e57dbb58ff78188d574a1cfff66222b4 100644 --- a/style/main.css +++ b/style/main.css @@ -1104,3 +1104,61 @@ hr { .privacy { word-wrap: break-word; } + +/* extras */ +.sidebar { + width: 180px; + top: 0; + bottom: 0; + right: 0; + position: fixed; + display: flex; + align-items: center; + justify-content: center; } + +@media (max-width: 880px) { + .sidebar, + .sidebar .adsbygoogle { + display: none; } } + +.cookie-notice { + position: fixed; + font-size: 15px; + z-index: 999; + right: 20px; + bottom: 20px; + width: 20%; + min-width: 460px; + background: #e8e5db; + padding: 10px; + margin-top: 30px; + box-sizing: border-box; + border-radius: 3px; + display: flex; + align-items: center; + justify-content: center; } + @media screen and (max-width: 520px) { + .cookie-notice { + width: auto; + left: 20px; + min-width: auto; } } + .cookie-notice, .cookie-notice p a { + color: #a09488; } + .cookie-notice p { + margin-bottom: 0; + flex: 1; } + .cookie-notice, .cookie-notice p { + line-height: 20px; } + +.cookie-notice-dismiss-button { + display: inline-block; + background: #8f7a66; + border-radius: 3px; + padding: 0 20px; + text-decoration: none; + color: #f9f6f2; + height: 40px; + line-height: 42px; + cursor: pointer; + flex: 0 0 auto; + margin-left: 20px; } diff --git a/style/main.scss b/style/main.scss index ab2abb0b7ef62076f65ab5ca76f8e29abefa3c3f..02f027d173ac404c4793434b72748aebba4dbf85 100644 --- a/style/main.scss +++ b/style/main.scss @@ -853,3 +853,70 @@ hr { .privacy { word-wrap: break-word; } + +// Ads & Cookie Notice + +/* extras */ + +.sidebar { + width: 180px; + top: 0; + bottom: 0; + right: 0; + position: fixed; + display: flex; + align-items: center; + justify-content: center; +} + +@media (max-width: 880px) { + .sidebar, + .sidebar .adsbygoogle { + display: none; + } +} + +.cookie-notice { + position: fixed; + font-size: 15px; + z-index: 999; + right: 20px; + bottom: 20px; + width: 20%; + min-width: 460px; + background: #e8e5db; + padding: 10px; + margin-top: 30px; + box-sizing: border-box; + border-radius: 3px; + + display: flex; + align-items: center; + justify-content: center; + + @include smaller($mobile-threshold) { + width: auto; + left: 20px; + min-width: auto; + } + + &, p a { + color: #a09488; + } + + p { + margin-bottom: 0; + flex: 1; + } + + &, p { + line-height: 20px; + } +} + +.cookie-notice-dismiss-button { + @include button; + flex: 0 0 auto; + margin-left: 20px; +} +