Skip to content

Commit bbb73db

Browse files
committed
UI more flatter; use "white-space:pre" to show spaces
1 parent bc7f2f5 commit bbb73db

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

public/stylesheets/style.css

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,13 @@ body, p {
4747
}
4848
#content .panel {
4949
background: hsla(0, 0%, 100%, 1);
50-
box-shadow: 0px 0px 2px hsl(0,0%,50%);
50+
box-shadow: 0px 0px 1px hsl(0,0%,40%);
5151
}
5252
#sidebar .panel {
5353
background: hsla(0, 0%, 100%, 1);
54-
box-shadow: 0px 0px 2px hsl(0,0%,50%);
5554
}
5655
#sidebar .header {
57-
background: hsl(0, 0%, 90%);
58-
background-image: linear-gradient(hsl(0, 0%, 98%), hsl(0, 0%, 92%));
59-
background-image: -webkit-linear-gradient(hsl(0, 0%, 97%), hsl(0, 0%, 90%));
56+
background: hsl(0, 0%, 93%);
6057
color: hsl(202, 6%, 34%);
6158
font-weight: bold;
6259
}
@@ -150,12 +147,11 @@ a.light:hover {
150147

151148
.panel {
152149
margin-bottom: 8px;
150+
box-shadow: 0px 0px 1px hsl(0, 0%, 40%);
153151
}
154152
.panel .header {
155153
padding: 7px 10px;
156-
background: hsl(0,0%,88%);
157-
background-image: linear-gradient(hsl(0, 0%, 98%), hsl(0, 0%, 92%));
158-
background-image: -webkit-linear-gradient(hsl(0, 0%, 97%), hsl(0, 0%, 92%));
154+
background: hsl(0,0%,93%);
159155
}
160156
.panel .moon {
161157
padding: 10px;
@@ -412,6 +408,7 @@ a.user_avatar:hover {
412408
.user_action {}
413409
.reply_content {
414410
margin-left: 50px;
411+
white-space: pre;
415412
}
416413
.reply_editor {
417414
height: 80px;
@@ -477,7 +474,6 @@ img.unread {
477474
position: fixed;
478475
cursor: pointer;
479476
text-align: center;
480-
background: white;
481477
z-index: 20;
482478
}
483479
#share_weibo_btn {
@@ -585,11 +581,10 @@ textarea[id^=wmd-input] {
585581
.navbar {
586582
margin-bottom: 0px;
587583
background-color: hsl(0, 0%, 93%);
588-
background-image: linear-gradient(hsl(0, 0%, 97%), hsl(0, 0%, 92%));
589584
z-index: 9;
590585
width: 100%;
591586
position: relative;
592-
box-shadow: 0px 0px 2px hsl(0, 0%, 50%);
587+
box-shadow: 0px 0px 1px hsl(0, 0%, 40%);
593588
}
594589
.navbar-inner {
595590
background: none;
@@ -747,6 +742,7 @@ div[class$=part] {
747742
width: 300px;
748743
}
749744
.topic_content{
745+
white-space: pre;
750746
}
751747
textarea, input[type="text"], input[type="password"], input[type="datetime"],
752748
input[type="datetime-local"], input[type="date"], input[type="month"],

0 commit comments

Comments
 (0)