Skip to content

Instantly share code, notes, and snippets.

View marharyta's full-sized avatar

Margo Roi marharyta

View GitHub Profile
self.addEventListener('install', (e) => {
console.log("service worker :)")
});
{
"background_color": "#FDFF9B",
"theme_color": "#FDFF9B",
"description": "Допомога та Інформація для українців у Фінляндії",
"display": "fullscreen",
"icons": [
{
"src": "https://finua.org/_next/image?url=https%3A%2F%2Fsuper-static-assets.s3.amazonaws.com%2F60d97cba-0100-4544-b554-e4739eb4ccb6%2Fuploads%2Flogo%2F9dadb7be-909a-4d3c-8ec5-58e844ed289a.png&w=2048&q=80",
"sizes": "512x512",
"type": "image/png"
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
/* Global Remedies
******************/
/* Use border-box by default, globally */
*, ::before, ::after { box-sizing: border-box; }
/*
* Consistent line spacing...
* CSS Inline Layout Module Level 3: https://drafts.csswg.org/css-inline-3/#line-sizing-property
*/
/*! destyle.css v1.0.11 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model
========================================================================== */
* {
box-sizing: border-box;
}
::before,
# WaveFront *.obj file (generated by CINEMA 4D)
g Esfera
usemtl Mat
v 0 -20000 0
v 0 20000 0
v 2090.569265 -19890.437907 0
v 2079.116908 -19890.437907 -218.523993
v 2044.885311 -19890.437907 -434.653791
v 1988.249523 -19890.437907 -646.021431
@marharyta
marharyta / default.css
Created December 9, 2018 19:02
Default stylesheet example
html, address,
blockquote,
body, dd, div,
dl, dt, fieldset, form,
frame, frameset,
h1, h2, h3, h4,
h5, h6, noframes,
ol, p, ul, center,
dir, hr, menu, pre { display: block; unicode-bidi: embed }
li { display: list-item }
@marharyta
marharyta / reboot.css
Last active December 12, 2023 13:46
Reboot CSS
/*
Reboot
Normalization of HTML elements, manually forked from Normalize.css to remove styles targeting irrelevant browsers while applying new styles.
Normalize is licensed MIT. https://github.com/necolas/normalize.css
* Bootstrap v4.0.0-beta (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*
@marharyta
marharyta / yahoo.css
Created December 9, 2018 18:19
Yahoo Reset CSS
/**
* YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
* https://cssreset.com/
* Copyright 2012 Yahoo! Inc. All rights reserved.
* http://yuilibrary.com/license/
*/
/*
TODO will need to remove settings on HTML since we can't namespace it.
TODO with the prefix, should I group by selector or property for weight savings?
*/
@marharyta
marharyta / sanitize.css
Last active August 2, 2021 06:01
Sanitize Reset
/*! sanitize.css v8.0.0 | CC0 License | github.com/csstools/sanitize.css */
/* Document
* ========================================================================== */
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
*/