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

github.com/vividvilla/ezhil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorVivek R <vividvilla@gmail.com>2019-09-19 21:20:28 +0300
committerVivek R <vividvilla@gmail.com>2019-09-19 21:31:19 +0300
commit2837a2ba626e147d056db567e53fca7f00eedaca (patch)
treeb36fb1d4af5f29a3b8de5524dfe05adf151c749d /static
parent34844c3b3d4845d9614577c256decb58f4a49fc8 (diff)
fix: images and other media doesn't get scaled 100% width
Diffstat (limited to 'static')
-rw-r--r--static/css/main.css28
1 files changed, 25 insertions, 3 deletions
diff --git a/static/css/main.css b/static/css/main.css
index 7cd7d52..c0f2453 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -34,9 +34,19 @@ hr {
padding: 0
}
-audio,canvas,img,video {
- width: 100%;
- vertical-align: middle
+img {
+ margin: 10px auto 10px auto;
+ max-width: 100%;
+ display: block;
+}
+
+a img {
+ border:none;
+}
+
+figure {
+ margin: 0;
+ text-align: center;
}
fieldset {
@@ -110,6 +120,18 @@ h6 {
font-size: .9rem
}
+.align-center {
+ text-align: center;
+}
+
+.align-left {
+ text-align: left;
+}
+
+.align-right {
+ text-align: right;
+}
+
.container {
max-width: 800px
}