1.0.1 • Published 1 year ago

sawazisha v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Sawazisha

Sawazisha is tiny reset css framework

Getting started

git clone
git clone https://github.com/mkoloni/sawazisha.git
npm
npm install sawasizha
yarn
yarn add sawazisha

Copy raw file

/***************************************************************************
 * *    * Sawazisha - https://github.com/iamvictormwangi/sawazisha
 * *    * Licensed under the MIT license - https://opensource.org/licenses/MIT
 * *    * Copyright (c) 2024 Victor Mwangi
 * *************************************************************************** */
* {
  box-sizing: border-box;
  background-repeat: no-repeat;
  outline: none;
  padding: 0;
  margin: 0;
}

html, body {
  font-size: 100%;
  line-height: 1.15;
  font-family: sans-serif;
  word-break: normal;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

main,
header,
footer,
article,
aside,
section,
details {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  font-weight: inherit;
}

ul {
  list-style: none;
}

ol {
  list-style: decimal;
}

dt {
  font-weight: bold;
}

hr {
  height: 0;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-top: 1px solid;
  margin-top: 0.5em;
  margin-bottom: 1em;
  color: currentColor;
}

address {
  font-style: inherit;
}

a {
  background-color: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

pre,
code,
samp,
kbd {
  font-family: monospace;
  font-size: 90%;
}

small,
sub,
sup {
  font-size: 80%;
}

sub,
sup {
  line-height: 0;
}

sup {
  vertical-align: super;
}

sub {
  vertical-align: sub;
}

blockquote {
  font-family: sans-serif;
  font-style: italic;
  padding-left: 1em;
}

u {
  text-decoration: underline;
}

s {
  text-decoration: line-through;
}

canvas,
iframe,
svg,
img,
video,
audio {
  display: inline-block;
  vertical-align: middle;
  border-style: none;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}

textarea {
  min-height: 2em;
  overflow: auto;
  resize: vertical;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
  appearance: button;
}

[type=checkbox] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
  appearance: radio;
}

select {
  text-transform: none;
}

button[disabled],
[type=button][disabled],
[type=reset][disabled],
[type=submit][disabled] {
  cursor: not-allowed;
}

fieldset {
  font-family: inherit;
  border: none;
}

input {
  overflow: hidden;
}

label {
  display: inline-block;
  font-size: inherit;
  font-weight: inherit;
}

legend {
  display: table;
  color: inherit;
  max-width: 100%;
}

progress {
  vertical-align: baseline;
}

summary {
  display: list-item;
}

template,
noscript,
[hidden] {
  display: none;
}

input[readonly],
select[readonly],
textarea[readonly] {
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.54);
}

input:disabled,
input[readonly],
textarea:disabled,
textarea[readonly] {
  background-color: lightgrey;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-transition: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

Browser Support

Sawazisha is compatible with all major browser.

  • Chrome
  • Firefox
  • Edge
  • Safari
  • Opera

1.0.1

1 year ago

1.0.0

3 years ago