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

github.com/zwbetz-gh/cayman-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Long <jlong@github.com>2015-03-30 23:58:23 +0300
committerJason Long <jlong@github.com>2015-03-31 15:45:59 +0300
commit00e125b46424c99f8a01a8bba6a9dc2160916f81 (patch)
treed40e07e1e1640f3d2e5d3f25bdad12a5ca27b134
parent4415c499c842f3dc5772ece8e4324d3bf5468080 (diff)
max-width for images
-rw-r--r--css/cayman.css8
-rw-r--r--scss/cayman.scss3
2 files changed, 11 insertions, 0 deletions
diff --git a/css/cayman.css b/css/cayman.css
index feaae0c..2bb4586 100644
--- a/css/cayman.css
+++ b/css/cayman.css
@@ -107,6 +107,14 @@ a {
.main-content {
padding: 2rem 1rem;
font-size: 1rem; } }
+<<<<<<< HEAD
+=======
+
+.main-content :first-child {
+ margin-top: 0; }
+.main-content img {
+ max-width: 100%; }
+>>>>>>> max-width for images
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
margin-top: 2rem;
margin-bottom: 1rem;
diff --git a/scss/cayman.scss b/scss/cayman.scss
index c8dfc1a..124bdf1 100644
--- a/scss/cayman.scss
+++ b/scss/cayman.scss
@@ -139,6 +139,9 @@ a {
@media screen and (max-width: 42em) {
padding: 2rem 1rem;
font-size: 1rem;
+
+ img {
+ max-width: 100%;
}
h1,