Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/partials/_main.scss')
-rw-r--r--src/styles/partials/_main.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/styles/partials/_main.scss b/src/styles/partials/_main.scss
new file mode 100644
index 0000000..7b15adb
--- /dev/null
+++ b/src/styles/partials/_main.scss
@@ -0,0 +1,24 @@
+body > main {
+ flex-grow: 1;
+
+ & > section {
+ margin: 2rem var(--container-margin);
+ padding-left: 0;
+ padding-right: 0;
+
+ @include mq($until: md) {
+ margin: 1rem;
+ }
+
+ &.primary {
+ background-color: var(--primary);
+ color: var(--primary-txt);
+ }
+
+ &.accent {
+ background-color: var(--accent);
+ color: var(--accent-txt);
+ }
+
+ }
+}