X-Git-Url: https://harishankar.org/repos/?p=biaweb2.git;a=blobdiff_plain;f=templates%2Fstyle.tpl.css;fp=templates%2Fstyle.tpl.css;h=0abf5c6c699cb51642d25c5f6813f35cf0e0c97b;hp=ec2e68b6cba0bcaeecff47edab4489aa26b947fa;hb=293e3ffadbd0c297b5e2291c1f4c7d98625cd991;hpb=e16a6540bdbe09d54677caae65e16598c1da2538 diff --git a/templates/style.tpl.css b/templates/style.tpl.css index ec2e68b..0abf5c6 100644 --- a/templates/style.tpl.css +++ b/templates/style.tpl.css @@ -77,3 +77,30 @@ section#content { line-height: 150%; text-align: justify; } +/* for small screens */ +@media only screen and (max-width: 600px) { + section#content { + width: 99%; + float: none; + margin-left: 0.5%; + margin-right: 0.5%; + text-align: left; + padding: 0; + } + img { + max-width: 100%; + height: auto; + } + header { + float: none; + } + footer { + float: none; + } + nav#sidebar { + float: none; + width: 99%; + margin-left: 0.5%; + margin-right: 0.5%; + } +} \ No newline at end of file