summaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2011-11-14 19:31:56 -0800
committerArun Persaud <apersaud@lbl.gov>2011-11-14 19:31:56 -0800
commit21973b9985f6325315721cba1c4e046fbbe3a1f0 (patch)
treea463bf5dc1d88d3f8f4026954c52283faa44d0ca /css
parent0b8f00b41b22dc971f8415f1e6de4700ea86c0fb (diff)
downloade-DoKo-21973b9985f6325315721cba1c4e046fbbe3a1f0.tar.gz
e-DoKo-21973b9985f6325315721cba1c4e046fbbe3a1f0.tar.bz2
e-DoKo-21973b9985f6325315721cba1c4e046fbbe3a1f0.zip
CLEANUP: merged normal css file and the one for mobile phones into one file
Diffstat (limited to 'css')
-rw-r--r--css/narrow.css73
-rw-r--r--css/standard.css78
2 files changed, 78 insertions, 73 deletions
diff --git a/css/narrow.css b/css/narrow.css
deleted file mode 100644
index dc69296..0000000
--- a/css/narrow.css
+++ /dev/null
@@ -1,73 +0,0 @@
-.main {
- background-color: #fff;
- margin-left: 0em;
- margin-right: 0em;
- min-height: 0em;
-}
-
-header, footer {
- margin-left: 0em;
- margin-right: 0em;
-}
-
-
-.lastlogin {
- position: relative;
- left: 0em;
- top: 0em;
- width: 100%;
- text-align: center;
- border-top: 1px solid gray;
-}
-
-.session div.sessionscore div, .status {
- right:0em;
-}
-
-.usermenu {
- left: 0em;
-}
-
-.notes {
- position:relative;
- top:0em;
- left:0;
- margin:0.1em;
- margin-top:0em;
- margin-left:0em;
-
- width: 100%;
-
- border: 2px solid gray;
-
- padding:0.3em;
-
- background-color: #efefef;
-
- height:100%;
- overflow: auto;
- z-index:0;
-}
-
-.user { margin-left:5%;margin-right:5%; }
-
-div.table img.table {
- width:50%;
-}
-
-.message {
- position: relative;
- background-color: #fff;
- width: 100%;
- top:0em;
- left:0%;
- right:0%;
- text-align: center;
- z-index:1;
-}
-.message >div { border: 2px solid black; }
-.message div div {
- width: 100%;
- text-align: right;
- font-size: smaller;
-}
diff --git a/css/standard.css b/css/standard.css
index b23516d..626c218 100644
--- a/css/standard.css
+++ b/css/standard.css
@@ -770,3 +770,81 @@ div span.numberoftricks {
.about .translation {
background-color: #fce94f;
}
+
+
+/* special layout for mobile devices */
+@media only screen and (max-width: 900px) {
+.main {
+ background-color: #fff;
+ margin-left: 0em;
+ margin-right: 0em;
+ min-height: 0em;
+}
+
+header, footer {
+ margin-left: 0em;
+ margin-right: 0em;
+}
+
+
+.lastlogin {
+ position: relative;
+ left: 0em;
+ top: 0em;
+ width: 100%;
+ text-align: center;
+ border-top: 1px solid gray;
+}
+
+.session div.sessionscore div, .status {
+ right:0em;
+}
+
+.usermenu {
+ left: 0em;
+}
+
+.notes {
+ position:relative;
+ top:0em;
+ left:0;
+ margin:0.1em;
+ margin-top:0em;
+ margin-left:0em;
+
+ width: 100%;
+
+ border: 2px solid gray;
+
+ padding:0.3em;
+
+ background-color: #efefef;
+
+ height:100%;
+ overflow: auto;
+ z-index:0;
+}
+
+.user { margin-left:5%;margin-right:5%; }
+
+div.table img.table {
+ width:50%;
+}
+
+.message {
+ position: relative;
+ background-color: #fff;
+ width: 100%;
+ top:0em;
+ left:0%;
+ right:0%;
+ text-align: center;
+ z-index:1;
+}
+.message >div { border: 2px solid black; }
+.message div div {
+ width: 100%;
+ text-align: right;
+ font-size: smaller;
+}
+} \ No newline at end of file