aboutsummaryrefslogtreecommitdiffstats
path: root/sleepmap-theme/static/css
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-03-30 21:04:16 +0200
committerDavid Runge <dave@sleepmap.de>2016-03-30 21:04:16 +0200
commit432adfe6948631014c93ec4aa812fe74920245d5 (patch)
tree3984a2459f08b3f21add7cb9adc4c8d8d7dafdaf /sleepmap-theme/static/css
parent91420a3a4997f5d87246fbf1bbfacb56ba691127 (diff)
downloadsleepmap-432adfe6948631014c93ec4aa812fe74920245d5.tar.gz
sleepmap-432adfe6948631014c93ec4aa812fe74920245d5.tar.bz2
sleepmap-432adfe6948631014c93ec4aa812fe74920245d5.tar.xz
sleepmap-432adfe6948631014c93ec4aa812fe74920245d5.zip
sleepmap-theme/static/css/main.css: Making pictures in figure environments auto-scale.
Diffstat (limited to 'sleepmap-theme/static/css')
-rw-r--r--sleepmap-theme/static/css/main.css15
1 files changed, 13 insertions, 2 deletions
diff --git a/sleepmap-theme/static/css/main.css b/sleepmap-theme/static/css/main.css
index 157b262..3a5017b 100644
--- a/sleepmap-theme/static/css/main.css
+++ b/sleepmap-theme/static/css/main.css
@@ -2,7 +2,7 @@
Name: Smashing HTML5
Date: July 2009
Description: Sample layout for HTML5 and CSS3 goodness.
- Version: 1.0
+recording: Version: 1.0
Author: Enrique Ramírez
Autor URI: http://enrique-ramirez.com
*/
@@ -131,10 +131,14 @@ tfoot td {}
/* HTML5 tags */
header, section, footer,
-aside, nav, article, figure {
+audio, source, aside, nav, article, figure {
display: block;
}
+audio, source {
+ position: relative;
+}
+
table.highlighttable {
margin: .5em 0 1.5em 0;
width: 100%;
@@ -434,3 +438,10 @@ div.legend table{
abbr{
font-style: italic;
}
+
+/* images */
+
+div.figure img {
+ max-width: 100%;
+ height: auto;
+}