aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorJoris2017-03-04 12:30:50 +0100
committerJoris2017-03-04 12:30:50 +0100
commitf466c27fedc73e37132259930efad4f25d01f0b9 (patch)
treec427ae50ecd6e62f2726c810d706f23cba46e802 /public
parentd38f069dc6e98c19382b29e99c8ebfd9e370fd78 (diff)
Transform global style from Scala to CSS
Diffstat (limited to 'public')
-rw-r--r--public/global.css26
-rw-r--r--public/index.html1
2 files changed, 27 insertions, 0 deletions
diff --git a/public/global.css b/public/global.css
new file mode 100644
index 0000000..d9a82c3
--- /dev/null
+++ b/public/global.css
@@ -0,0 +1,26 @@
+html {
+ box-sizing: border-box;
+}
+
+body {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+}
+
+a {
+ color: inherit;
+}
+
+*, *:before, *:after {
+ box-sizing: inherit;
+}
+
+button {
+ cursor: pointer;
+ display: flex;
+ background-color: initial;
+ color: black;
+ border: none;
+ font-size: inherit;
+}
diff --git a/public/index.html b/public/index.html
index 8e2599d..587080b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<title>Conseils de lecture</title>
<link rel="stylesheet" href="reset.css">
+ <link rel="stylesheet" href="global.css">
<link rel="icon" href="icon.png">
<script src="main.js"></script>
</head>