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

github.com/chipsenkbeil/grid-side.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMimmo Cosenza <mimmo.cosenza@gmail.com>2016-07-05 22:09:30 +0300
committerChip Senkbeil <chip.senkbeil@gmail.com>2016-07-05 22:09:30 +0300
commite956d1b2b93b6f0c2148629e3d4b580a2fb33f7d (patch)
treee220d7e566e14fc602575a2b9a5adb7cc359588b
parente1abf3e2946e07b6a47c03422f3147d673d0704e (diff)
Make img responsive (#25)
-rw-r--r--static/css/main.css19
1 files changed, 11 insertions, 8 deletions
diff --git a/static/css/main.css b/static/css/main.css
index ae7545a..297618f 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -147,7 +147,7 @@ ul.menu li:hover > ul {
ul.menu li {
float: left;
-
+
/* Needed */
position: relative;
}
@@ -399,14 +399,14 @@ html, body {
.clearfix:before,
.clearfix:after {
- content: ".";
- display: block;
- height: 0;
- overflow: hidden;
+ content: ".";
+ display: block;
+ height: 0;
+ overflow: hidden;
}
-.clearfix:after {
- clear: both;
+.clearfix:after {
+ clear: both;
}
.clearfix {
@@ -587,7 +587,7 @@ ul.tags li a:hover {
align-items: center;
text-align: center;
-
+
position: absolute;
bottom: 0;
width: 100%;
@@ -779,3 +779,6 @@ ul.pagination {
}
}
+img {
+ max-width: 100%;
+}