summaryrefslogtreecommitdiff
path: root/assets/css/reset.css
diff options
context:
space:
mode:
authorFrancesco <tomaselli.fr@gmail.com>2024-04-22 13:19:56 +0200
committerFrancesco <tomaselli.fr@gmail.com>2024-04-22 13:19:56 +0200
commit7b4b78ee8458b16a6167170bf7405d7bf911cfbc (patch)
tree96e756a5e36793bf50d26759e58c0467cc81e096 /assets/css/reset.css
parentfe32c5cc878b8f2608cb58057b3c0cab49488a2f (diff)
Initial
Diffstat (limited to 'assets/css/reset.css')
-rw-r--r--assets/css/reset.css117
1 files changed, 117 insertions, 0 deletions
diff --git a/assets/css/reset.css b/assets/css/reset.css
new file mode 100644
index 0000000..a2c9a46
--- /dev/null
+++ b/assets/css/reset.css
@@ -0,0 +1,117 @@
+*,
+::after,
+::before {
+ box-sizing: border-box;
+}
+
+html {
+ -webkit-tap-highlight-color: transparent;
+ overflow-y: scroll;
+ -webkit-text-size-adjust: 100%;
+ text-size-adjust: 100%;
+}
+
+a,
+button,
+body,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ color: var(--primary);
+}
+
+body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+ font-size: 18px;
+ line-height: 1.6;
+ word-break: break-word;
+ background: var(--theme);
+}
+
+article,
+aside,
+figcaption,
+figure,
+header,
+hgroup,
+main,
+nav,
+section,
+table {
+ display: block;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ line-height: 1.2;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+p {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+ul {
+ padding: 0;
+}
+
+a {
+ text-decoration: none;
+}
+
+body,
+figure,
+ul {
+ margin: 0;
+}
+
+table {
+ width: 100%;
+ border-collapse: collapse;
+ border-spacing: 0;
+ overflow-x: auto;
+ word-break: keep-all;
+}
+
+button,
+input,
+textarea {
+ padding: 0;
+ font: inherit;
+ background: 0 0;
+ border: 0;
+}
+
+input,
+textarea {
+ outline: 0;
+}
+
+button,
+input[type=button],
+input[type=submit] {
+ cursor: pointer;
+}
+
+input:-webkit-autofill,
+textarea:-webkit-autofill {
+ box-shadow: 0 0 0 50px var(--theme) inset;
+}
+
+img {
+ display: block;
+ max-width: 100%;
+} \ No newline at end of file