document shadow refactoring

This commit is contained in:
tmshv committed 2020-03-05 19:35:05 +03:00
1 parent f72e45bc46
commit 1e3ceb5017
3 files changed
+2 -4

No files matched your search

-2
View File
@@ -1,8 +1,6 @@
@import url('https://fonts.googleapis.com/css?family=PT+Sans&display=swap'); @import url('https://fonts.googleapis.com/css?family=PT+Sans&display=swap');
:root { :root {
--white-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.2);
/* FONTS */ /* FONTS */
--title-font: Shadow, Georgia, serif; --title-font: Shadow, Georgia, serif;
--text-font: 'PT Sans', Helvetica, sans-serif; --text-font: 'PT Sans', Helvetica, sans-serif;
+1 -1
View File
@@ -18,7 +18,7 @@
img { img {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
box-shadow: var(--white-shadow); box-shadow: var(--shadow);
} }
} }
+1 -1
View File
@@ -21,7 +21,7 @@
img { img {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
box-shadow: var(--white-shadow); box-shadow: var(--shadow);
} }
} }