/* Responsive Web Design */ /* Desktops with medium-size browser viewport (SVGA resolution) */ body { } .multi-display { } .menu .bow { } .multi-display .lower .bg { } #bow-top { } #bow-top .text { } #bow-top-left { } .menu-container { } .menu { } .menu ul:first-child { } .menu .button { } #bow #bottom { } #bow-bottom { } #bow-bottom .concave { } #connectors { } #connectors .right { } /* Desktops with large viewport (XGA resolution and more, or no toolbars) */ @media all and (min-width: 1024px) and (min-height: 364px) { body { margin-left: 22em; } #bow #bottom { width: 20.8em; } #bow-bottom { border-bottom-left-radius: 2.4em; border-bottom-right-radius: 2em; width: 20.6em; } #bow-bottom .concave { width: 7.6em; } #connectors .right { width: 5em; } .multi-display { left: 15.8em; } .multi-display .lower .bg { bottom: 2.8em; } } /* Desktops with small viewport (VGA resolution and less, or toolbars) */ @media all and (max-width: 640px) { /* 0.5 to 0.5225s */ #connectors { opacity: 0; } #bow-bottom { bottom: 2.6em; height: 0em; opacity: 0; } #bow #bottom { visibility: hidden; } .menu-container { top: 11em; width: 5em; bottom: 0; z-index: 1; background-color: #fc6; } .menu { height: 21.8em; } .menu ul:first-child { padding-top: 0; } .menu .button { width: 5em; } /* 0.5225s to 0.6475s */ #bow-top-left { height: 0; } /* at 0.6475s */ #bow-top .text { opacity: 0; } .empty #bow-top .text { opacity: 1; } /* 0.6475s to 1.1475s */ #bow-top { left: 100%; min-width: auto; border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 1.2em; border-bottom-right-radius: 1.2em; opacity: 0; } .empty #bow-top { left: 0%; min-width: 10em; border-top-left-radius: 1.2em; border-bottom-left-radius: 1.2em; border-top-right-radius: 1.2em; border-bottom-right-radius: 1.2em; opacity: 1; } .multi-display { top: 0.2em; left: 0.2em; } .menu .bow { background-color: #fc6; } .multi-display .lower .bg { top: 11em; } body { margin-top: 9.6em; margin-left: 6.4em; } .multi-display .upper .content #cmd2, .multi-display .upper .content #cmd3 { display: none; } .multi-display .upper .content #cmd1, .multi-display .upper .content #cmd4 { right: 0; } .multi-display .upper .content .analysis { right: 5.2em; } .multi-display .upper .content .commands { width: 5.2em; } } /* Mobile devices: HTC Sensation & friends */ @media screen and (max-device-width: 540px) { /* html, #LCARS, .multi-display { max-width: 540px; } */ /* 0.5 to 0.5225s */ #connectors { opacity: 0; } #bow-bottom { bottom: 2.6em; height: 0em; opacity: 0; } #bow #bottom { visibility: hidden; } .menu-container { top: 11em; width: 5em; bottom: 0; z-index: 1; background-color: #fc6; } .menu { height: 21.8em; } .menu ul:first-child { padding-top: 0; } .menu .button { width: 5em; } /* 0.5225s to 0.6475s */ #bow-top-left { height: 0; } /* at 0.6475s */ #bow-top .text { opacity: 0; } .empty #bow-top .text { opacity: 1; } /* 0.6475s to 1.1475s */ #bow-top { left: 100%; min-width: auto; border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 1.2em; border-bottom-right-radius: 1.2em; opacity: 0; } .empty #bow-top { left: 0%; min-width: 10em; border-top-left-radius: 1.2em; border-bottom-left-radius: 1.2em; border-top-right-radius: 1.2em; border-bottom-right-radius: 1.2em; opacity: 1; } .multi-display { top: 0.2em; left: 0.2em; } .menu .bow { background-color: #fc6; } .multi-display .lower .bg { top: 11em; } body { margin-top: 9.6em; margin-left: 6.4em; } .multi-display .upper .content #cmd2, .multi-display .upper .content #cmd3 { display: none; } .multi-display .upper .content #cmd1, .multi-display .upper .content #cmd4 { right: 0; } .multi-display .upper .content .analysis { right: 5.2em; } .multi-display .upper .content .commands { width: 5.2em; } }