summaryrefslogtreecommitdiff
path: root/assets/css/reset.css
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-21 14:20:35 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-21 14:20:35 +0530
commit15d7a4aabdf71ac85d88dd08eda27e5306d853fe (patch)
treef5332cb21ba6d16819419bee298361be110f3bf0 /assets/css/reset.css
parenta0720675754dc8e786871440317090677f2e2dfa (diff)
assets: separate style.css into parts
Diffstat (limited to 'assets/css/reset.css')
-rw-r--r--assets/css/reset.css110
1 files changed, 110 insertions, 0 deletions
diff --git a/assets/css/reset.css b/assets/css/reset.css
new file mode 100644
index 0000000..688fb3b
--- /dev/null
+++ b/assets/css/reset.css
@@ -0,0 +1,110 @@
+/* Reset
+-------------------------------------------------- */
+*,
+*::before,
+*::after {
+ box-sizing: border-box;
+}
+
+html {
+ -webkit-tap-highlight-color: transparent;
+}
+
+body {
+ margin: 0;
+ color: var(--primary);
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
+ 'Open Sans', 'Helvetica Neue', sans-serif;
+ font-size: 18px;
+ line-height: 1.8;
+ word-break: break-word;
+ background: var(--theme);
+}
+
+article,
+aside,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+main,
+nav,
+section {
+ display: block;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ margin-top: 0;
+ margin-bottom: 0;
+ color: var(--primary);
+ line-height: 1.2;
+}
+
+p {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+strong,
+b {
+ font-weight: 500;
+}
+
+ul {
+ margin: 0;
+ padding: 0;
+}
+
+a {
+ color: var(--primary);
+ text-decoration: none;
+}
+
+figure {
+ margin: 0;
+}
+
+table {
+ width: 100%;
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+button,
+input,
+textarea {
+ padding: 0;
+ font: inherit;
+ background: transparent;
+ border: 0;
+ -webkit-appearance: none;
+}
+
+button,
+input[type='button'],
+input[type='submit'] {
+ cursor: pointer;
+}
+
+input,
+textarea {
+ padding: 0;
+ border: 0;
+ outline: 0;
+}
+
+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