diff options
Diffstat (limited to 'webcards/styles/home')
-rw-r--r-- | webcards/styles/home/base.css | 53 | ||||
-rw-r--r-- | webcards/styles/home/desktop.css | 6 | ||||
-rw-r--r-- | webcards/styles/home/mobile.css | 6 |
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 |