Author: andreasr Date: Thu Sep 17 18:46:06 2015 New Revision: 29913 URL: http://svn.gna.org/viewcvs/freeciv?rev=29913&view=rev Log: Update CSS to look nicer on small screen.
Modified: website/css/freeciv.css Modified: website/css/freeciv.css URL: http://svn.gna.org/viewcvs/freeciv/website/css/freeciv.css?rev=29913&r1=29912&r2=29913&view=diff ============================================================================== --- website/css/freeciv.css (original) +++ website/css/freeciv.css Thu Sep 17 18:46:06 2015 @@ -124,10 +124,17 @@ background-color:rgba(0,0,0,0.6); } #links_box { - width: 50%; + width: 100%; + clear: both; + margin-left: 0px; + padding-left: 25px; } #header_teaser { - width: 50%; + width: 100%; + min-height: 180px; + } + .jumbotron { + min-height: 480px; } } @@ -149,21 +156,29 @@ #header_teaser { width: 50%; } - -} + + } @media (max-width: 1200px) and (min-width: 768px) { - .dl_text { - display: none; - } - - #lead_text { + .dl_text { + display: none; + } + + #lead_text { font-size: 1.6em; - } + } .searchbox { display:none; } +} + + +@media screen and (min-width: 768px) and (max-width: 1200px){ + .container .jumbotron { + padding-left: 20px; + padding-right: 20px; + } } .left_pagepart { _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits