Changeset 854 for trunk/style


Ignore:
Timestamp:
Jan 19, 2016, 5:25:11 PM (9 years ago)
Author:
chronos
Message:
  • Added: Responsive web layout. Two column layout is switched for single column for devices with smaller display.
  • Modified: All four boxes at front page made as oveflowing defined height.
Location:
trunk/style
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/style/style.css

    r850 r854  
    257257.box
    258258{
    259   overflow: auto;
     259  overflow: auto;
     260  height: 400px;
     261}
     262
     263.shoutbox
     264{
    260265  width: 100%;
    261   height: 500px;
    262266  font-size: 80%;
    263267  border-width: 1px;
     
    595599  font-weight: normal;
    596600}
     601
     602/* Mobile Layout: 480px and below. */
     603
     604.box-left {
     605  clear: both;
     606  float: left;
     607  margin-left: 0;
     608  width: 100%
     609  display: block;
     610  margin-bottom: 10px;
     611}
     612 
     613.box-right {
     614  clear: none;
     615  float: left;
     616  margin-left: 0;
     617  width: 100%;
     618  display: block;
     619  margin-bottom: 10px;
     620}
     621
     622/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
     623@media screen and (min-width: 480px) {
     624
     625.box-left {
     626  clear: both;
     627  float: left;
     628  margin-left: 0;
     629  width: 100%
     630  display: block;
     631  margin-bottom: 10px;
     632}
     633 
     634.box-right {
     635  clear: none;
     636  float: left;
     637  margin-left: 0;
     638  width: 100%;
     639  display: block;
     640  margin-bottom: 10px;
     641}
     642 
     643}
     644
     645/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
     646@media only screen and (min-width: 769px) {
     647 
     648.box-left {
     649  clear: both;
     650  float: left;
     651  margin-left: 0;
     652  width: 49%;
     653  display: block;
     654  margin-bottom: 10px;
     655}
     656 
     657.box-right {
     658  clear: none;
     659  float: left;
     660  margin-left: 1%;
     661  width: 49%;
     662  display: block;
     663  margin-bottom: 10px;
     664}
     665
     666}
Note: See TracChangeset for help on using the changeset viewer.