diff --git a/views/projectSettings.mustache b/views/projectSettings.mustache
index 493cd65e858b92c32a230a9ded54f426ea0e5531..657d6ec54b462335fc528c2b0caea483c750b7f4 100644
--- a/views/projectSettings.mustache
+++ b/views/projectSettings.mustache
@@ -27,6 +27,9 @@
tr.selected{
background-color:#444;
}
+ td {
+ word-break: break-word;
+ }
#MRIFiles, #annotations, #access {
color:white;
text-align:left;
@@ -259,7 +262,7 @@
}
#projTable {
max-width: 900px;
- width: calc(100% - 300px);
+ width: calc(100% - 260px);
padding: 20px;
margin-left: 20px;
}
@@ -277,7 +280,7 @@
left: 0px;
padding-left:20px;
padding-right: 20px;
- width:calc(100% - 250px);
+ width:calc(100% - 300px);
text-align: justify;
}
#projTable {
diff --git a/views/user.mustache b/views/user.mustache
index 492a4f68716014204961871df925bcd97f761dcc..4a5c07525a13e1b7eef5f69b04946417e74f287b 100644
--- a/views/user.mustache
+++ b/views/user.mustache
@@ -19,6 +19,9 @@
.tab.selected {
background:#333;
}
+ td {
+ word-break: break-word;
+ }
#MRIFiles, #atlasFiles, #projects {
color:white;
text-align:left;
@@ -36,6 +39,132 @@
#MRIFiles a, #atlasFiles a, #projects a {
text-decoration:none;
}
+
+ /*************************** resizable layout **************************/
+ #centeringDiv {
+ position:relative;
+ display:block;
+ margin:0 auto;
+ }
+ #userImage {
+ position:relative;
+ display: inline-block;
+ background:#333;
+ width:200px;
+ height:200px;
+ vertical-align: top;
+ }
+ #userDescription {
+ position: relative;
+ display: inline-block;
+ vertical-align: top;
+ }
+ #userDescription p {
+ margin: 0;
+ }
+ #userTable {
+ position: relative;
+ display:inline-block;
+ min-height:400px;
+ max-width: 900px;
+ text-decoration:none;
+ vertical-align: top;
+ margin-top: 20px;
+ }
+
+ /* for larger screen (computer, big iPad, small iPad landscape) */
+ @media all and (min-width: 1023px) {
+ #centeringDiv {
+ width:984px;
+ padding:20px;
+ }
+ #userImage {
+ float: left;
+ }
+ #userDescription {
+ float: left;
+ clear: both;
+ width: 200px;
+ }
+ #userTable {
+ max-width: 900px;
+ width: calc(100% - 220px);
+ margin-left: 20px;
+ margin-top: 0px;
+ }
+ }
+
+ /* for smaller screen (small iPad portrait) */
+ @media not all and (min-width: 1023px) {
+ #centeringDiv {
+ width:700px;
+ padding:20px;
+ }
+ #userDescription {
+ position: relative;
+ top: 0px;
+ left: 0px;
+ padding-left:20px;
+ padding-right: 20px;
+ width:calc(100% - 300px);
+ text-align: justify;
+ }
+ #userTable {
+ position: relative;
+ max-width: 700px;
+ width:calc(100% - 40px);
+ top: 0px;
+ left: 0px;
+ }
+ }
+
+ /* for even smaller screen (phone) */
+ @media not all and (min-width: 739px) {
+ #centeringDiv {
+ text-align: center;
+ width:600px;
+ padding:10px;
+ }
+ #userDescription {
+ position: relative;
+ top: 0px;
+ left: 0px;
+ padding-left:10px;
+ width:calc(100% - 20px);
+ text-align: justify;
+ }
+ #userTable {
+ position: relative;
+ max-width: 600px;
+ width:calc(100% - 40px);
+ top: 0px;
+ left: 0px;
+ }
+ }
+
+ /* for even still smaller screen (phone) */
+ @media not all and (min-width: 639px) {
+ #centeringDiv {
+ text-align: center;
+ width:480px;
+ padding:10px;
+ }
+ #userDescription {
+ position: relative;
+ top: 0px;
+ left: 0px;
+ padding-left:10px;
+ width:calc(100% - 20px);
+ text-align: justify;
+ }
+ #userTable {
+ position: relative;
+ max-width: 420px;
+ width:calc(100% - 40px);
+ top: 0px;
+ left: 0px;
+ }
+ }
@@ -66,109 +195,115 @@
-
-
-
-
- 
-
- {{username}}
- {{nickname}}
- {{joined}}
- {{numMRI}} MRI Files
- {{numAtlas}} Atlas Files
- {{numProjects}} Projects
- |
-
-
- |
-
-
+
+
+
+
+
+

+
+
+
+
+
{{username}}
+
{{nickname}}
+
{{joined}}
+
{{numMRI}} MRI Files
+
{{numAtlas}} Atlas Files
+
{{numProjects}} Projects
+
+
+
+
+
+
+
+