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

github.com/ineesalmeida/almeida-cv.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/_base.scss')
-rw-r--r--assets/sass/_base.scss44
1 files changed, 44 insertions, 0 deletions
diff --git a/assets/sass/_base.scss b/assets/sass/_base.scss
new file mode 100644
index 0000000..4e48662
--- /dev/null
+++ b/assets/sass/_base.scss
@@ -0,0 +1,44 @@
+*,
+*::after,
+*::before {
+ margin: 0;
+ padding: 0;
+ box-sizing: inherit;
+}
+
+html {
+ font-size: 62.5%;
+ background-color: $color-background;
+
+ @media print {background-color: $color-white;}
+}
+
+.content {
+ // A4 paper
+ width: $page-width;
+ min-height: paper_height($page-width);
+ background-color: $color-white;
+
+ @media screen and (min-width: 60rem) {
+ margin: 6rem 0;
+ @include shadow(1);
+ @include hz-center;
+ }
+ @media print {margin: 0;}
+}
+
+body {
+ box-sizing: border-box;
+}
+
+@media print {
+ @page {
+ margin: 0;
+ size: A4;
+ }
+}
+
+::selection {
+ color: $color-white;
+ background-color: darken(rgba($color-primary, 0.6), 10%);
+} \ No newline at end of file