summaryrefslogtreecommitdiff
path: root/webcards/styles/home
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2020-02-27 17:48:00 -0500
committerKyle Gunger <corechg@gmail.com>2020-02-27 17:48:00 -0500
commitea8f308bc00330b5378eb2b8f16d9cc348719c9a (patch)
tree34a9074b4687beefd3bf046d68374ef307f178da /webcards/styles/home
parent62cfd4f23993e04602aa15adf4fc71e6eb48c376 (diff)
Init WebCards
Diffstat (limited to 'webcards/styles/home')
-rw-r--r--webcards/styles/home/base.css53
-rw-r--r--webcards/styles/home/desktop.css6
-rw-r--r--webcards/styles/home/mobile.css6
3 files changed, 65 insertions, 0 deletions
diff --git a/webcards/styles/home/base.css b/webcards/styles/home/base.css
new file mode 100644
index 0000000..2ef3693
--- /dev/null
+++ b/webcards/styles/home/base.css
@@ -0,0 +1,53 @@
+* {
+ font-family: 'Montserrat', sans-serif;
+}
+
+html, body {
+ margin: 0;
+ padding: 0;
+
+ min-width: 100vw;
+ min-height: 100vh;
+
+ display: block;
+}
+
+body {
+ display: flex;
+
+ align-items: center;
+ justify-content: center;
+}
+
+div.content {
+ padding: 20px;
+
+ background-color: #ddd;
+ border-radius: 10px;
+ max-width: 500px;
+
+ display: flex;
+ text-align: center;
+ flex-direction: column;
+
+ align-items: center;
+}
+
+a {
+ font-size: 24px;
+ display: block;
+ color: white;
+
+ border-radius: 5px;
+ padding: 5px;
+
+ background-color: dodgerblue;
+
+ transition-duration: 0.2s;
+
+ text-decoration: none;
+
+ margin-top: 10px;
+
+ max-width: 100px;
+} \ No newline at end of file
diff --git a/webcards/styles/home/desktop.css b/webcards/styles/home/desktop.css
new file mode 100644
index 0000000..0edda76
--- /dev/null
+++ b/webcards/styles/home/desktop.css
@@ -0,0 +1,6 @@
+@media (min-width: 600px) {
+ div.content > div {
+ display: flex;
+ flex-direction: row;
+ }
+} \ No newline at end of file
diff --git a/webcards/styles/home/mobile.css b/webcards/styles/home/mobile.css
new file mode 100644
index 0000000..4e469de
--- /dev/null
+++ b/webcards/styles/home/mobile.css
@@ -0,0 +1,6 @@
+@media (max-width: 599px) {
+ div.content > div {
+ display: flex;
+ flex-direction: column;
+ }
+} \ No newline at end of file