Skip to content

Commit

Permalink
1.3.2
Browse files Browse the repository at this point in the history
- _total-reset.scss updates for table and block elements
  • Loading branch information
andreymatin committed Apr 27, 2023
1 parent d2ea5aa commit bb783c7
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 8 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# Changelog

# [1.3.2]

- _total-reset.scss updates for table and block elements

# [1.3.1]

- readme updates

# [1.3.0]

- added "total" reset total-reset.scss
- added "total" reset _total-reset.scss
- freshed up dev infrastructure
- added Data URI snippets

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ where need to deep reset all properties of the Shadow DOM elements without reset
HTML snippet for Web Component integration

```html
<style>@import url("data:text/css;base64,Kiw6YWZ0ZXIsOmJlZm9yZXthbGw6dW5zZXQ7Ym94LXNpemluZzpib3JkZXItYm94fWEsYWJicixhY3JvbnltLGFkZHJlc3MsYXJ0aWNsZSxhc2lkZSxhdWRpbyxiLGJpZyxibG9ja3F1b3RlLGNhbnZhcyxjYXB0aW9uLGNlbnRlcixjaXRlLGNvZGUsZGQsZGVsLGRldGFpbHMsZGZuLGRpdixkbCxkdCxlbSxlbWJlZCxmaWVsZHNldCxmaWdjYXB0aW9uLGZpZ3VyZSxmb290ZXIsZm9ybSxoMSxoMixoMyxoNCxoNSxoNixoZWFkZXIsaGdyb3VwLGksaWZyYW1lLGltZyxpbnMsa2JkLGxhYmVsLGxlZ2VuZCxsaSxtYWluLG1hcmssbWVudSxuYXYsb2wsb3V0cHV0LHAscHJlLHEscnVieSxzLHNhbXAsc2VjdGlvbixzbWFsbCxzcGFuLHN0cmlrZSxzdHJvbmcsc3ViLHN1bW1hcnksc3VwLHRhYmxlLHRib2R5LHRkLHRmb290LHRoLHRoZWFkLHRpbWUsdHIsdHQsdSx1bCx2YXIsdmlkZW97ZGlzcGxheTpibG9jaztmb250LXNpemU6MTA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dGlvbixmaWd1cmUsZm9vdGVyLGZvcm0saDEsaDIsaDMsaDQsaDUsaDYsaGVhZGVyLGhncm91cCxtYWluLG1lbnUsbmF2LHAscHJlLHNlY3Rpb257ZGlzcGxheTpibG9ja31hdWRpbyxjYW52YXMsaW1nLHBpY3R1cmUsc3ZnLHZpZGVve2Rpc3BsYXk6aW5saW5lLWJsb2NrO21heC13aWR0aDoxMDAlO3ZlcnRpY2FsLWFsaWduOm1pZGRsZX1baGlkZGVuXSxzdHlsZSx0ZW1wbGF0ZXtkaXNwbGF5Om5vbmV9YVtocmVmXSxidXR0b24sbGFiZWxbZm9yXSxzZWxlY3R7Y3Vyc29yOnBvaW50ZXJ9");</style>
```

## CDN
Expand Down
40 changes: 38 additions & 2 deletions _total-reset.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* {
*:where(:not(table, thead, tbody, tr, th, td)) {
all: unset;
box-sizing: border-box;

Expand Down Expand Up @@ -86,8 +86,34 @@ time,
mark,
audio,
video,
main {
main,
button {
font-size: 100%;
}

div,
main,
article,
aside,
details,
figcaption,
figure,
footer,
form,
header,
hgroup,
menu,
nav,
section,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre {
display: block;
}

Expand All @@ -99,8 +125,18 @@ picture,
svg {
display: inline-block;
max-width: 100%;
vertical-align: middle;
}

[hidden] {
display: none;
}

template,
style {
display: none;
}

a[href], label[for], select, button {
cursor: pointer;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scss-reset",
"version": "1.3.1",
"version": "1.3.2",
"description": "SCSS Reset",
"main": "gulpfile.js",
"repository": {
Expand Down
33 changes: 31 additions & 2 deletions src/scss/_total-reset.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* {
*:where(:not(table, thead, tbody, tr, th, td)) {
all: unset;
box-sizing: border-box;

Expand Down Expand Up @@ -86,8 +86,34 @@ time,
mark,
audio,
video,
main {
main,
button {
font-size: 100%;
}

div,
main,
article,
aside,
details,
figcaption,
figure,
footer,
form,
header,
hgroup,
menu,
nav,
section,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre {
display: block;
}

Expand All @@ -111,3 +137,6 @@ style {
display: none;
}

a[href], label[for], select, button {
cursor: pointer;
}
2 changes: 1 addition & 1 deletion test/total-reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<title>Reset Styles Test page</title>
<style>@import url("data:text/css;base64,Kiw6YWZ0ZXIsOmJlZm9yZXthbGw6dW5zZXQ7Ym94LXNpemluZzpib3JkZXItYm94fWEsYWJicixhY3JvbnltLGFkZHJlc3MsYXJ0aWNsZSxhc2lkZSxhdWRpbyxiLGJpZyxibG9ja3F1b3RlLGNhbnZhcyxjYXB0aW9uLGNlbnRlcixjaXRlLGNvZGUsZGQsZGVsLGRldGFpbHMsZGZuLGRpdixkbCxkdCxlbSxlbWJlZCxmaWVsZHNldCxmaWdjYXB0aW9uLGZpZ3VyZSxmb290ZXIsZm9ybSxoMSxoMixoMyxoNCxoNSxoNixoZWFkZXIsaGdyb3VwLGksaWZyYW1lLGltZyxpbnMsa2JkLGxhYmVsLGxlZ2VuZCxsaSxtYWluLG1hcmssbWVudSxuYXYsb2wsb3V0cHV0LHAscHJlLHEscnVieSxzLHNhbXAsc2VjdGlvbixzbWFsbCxzcGFuLHN0cmlrZSxzdHJvbmcsc3ViLHN1bW1hcnksc3VwLHRhYmxlLHRib2R5LHRkLHRmb290LHRoLHRoZWFkLHRpbWUsdHIsdHQsdSx1bCx2YXIsdmlkZW97ZGlzcGxheTpibG9jaztmb250LXNpemU6MTAwJX1hdWRpbyxjYW52YXMsaW1nLHBpY3R1cmUsc3ZnLHZpZGVve2Rpc3BsYXk6aW5saW5lLWJsb2NrO21heC13aWR0aDoxMDAlO3ZlcnRpY2FsLWFsaWduOm1pZGRsZX1baGlkZGVuXSxzdHlsZSx0ZW1wbGF0ZXtkaXNwbGF5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2Rpc3BsYXk6aW5saW5lLWJsb2NrO21heC13aWR0aDoxMDAlO3ZlcnRpY2FsLWFsaWduOm1pZGRsZX1baGlkZGVuXSxzdHlsZSx0ZW1wbGF0ZXtkaXNwbGF5Om5vbmV9YVtocmVmXSxidXR0b24sbGFiZWxbZm9yXSxzZWxlY3R7Y3Vyc29yOnBvaW50ZXJ9");</style>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>

Expand Down

0 comments on commit bb783c7

Please sign in to comment.