Skip to content

Instantly share code, notes, and snippets.

@unzan
Created April 15, 2015 23:44
Show Gist options
  • Save unzan/27ab0c7452322e07a7d5 to your computer and use it in GitHub Desktop.
Save unzan/27ab0c7452322e07a7d5 to your computer and use it in GitHub Desktop.
diff --git a/css/terriblename.css b/css/terriblename.css
index 8f6c46f..a3cf5a5 100644
--- a/css/terriblename.css
+++ b/css/terriblename.css
@@ -1797,6 +1797,7 @@ ul.report-reasons > li.report-reason {
display: none;
}
+.side .md-container h1,
.sidecontentbox > .title {
background: -webkit-linear-gradient(top, #e2e2e2, #d6d6d6);
background: -moz-linear-gradient(top, #e2e2e2, #d6d6d6);
@@ -1804,6 +1805,7 @@ ul.report-reasons > li.report-reason {
box-shadow: inset 0 1px 0 #f4f4f4, 0 1px 1px rgba(0, 0, 0, 0.14);
border-radius: 3px 3px 0 0;
}
+
.sidecontentbox > .title .collapse-button,
.sidecontentbox > .title h1 {
color: #515151;
@@ -1818,14 +1820,20 @@ ul.report-reasons > li.report-reason {
border: none;
margin: 0;
}
+
.sidecontentbox a.helplink {
margin: 10px 7px 10px 0;
}
+
+.side .md-container,
+.side .md-container h1,
.sidecontentbox > .title,
.sidecontentbox > .content {
border: solid 1px #aaaaaa;
padding: 7px;
}
+
+.side .md-container,
.sidecontentbox .content {
overflow: hidden;
background: rgba(255, 255, 255, 0.2);
@@ -1833,10 +1841,24 @@ ul.report-reasons > li.report-reason {
border-radius: 0 0 3px 3px;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
+
.sidecontentbox .content > li {
margin: 3px 0;
}
+.side .md-container {
+ position: relative;
+ padding-top: 2.8em;
+ border-radius: 3px;
+}
+.side .md-container h1 {
+ position: absolute;
+ font-size: 1.2em;
+ left: -1px;
+ right: -1px;
+ top: -7px;
+}
+
.icon-menu a {
background: none;
display: block;
@@ -2678,6 +2700,7 @@ table.diff tbody .diff_header:not([id]) {
box-shadow: inset 0 2px 3px #0a0c0e, 0 1px 0 #3e4855;
}
+.res.res-nightmode .side .md-container h1,
.res.res-nightmode .sidecontentbox > .title, .res.res-nightmode #BigEditor > .RESDialogSmall.BERight > h3,
.res.res-nightmode .RESDialogSmall.livePreview > h3, .res.res-nightmode .markdownEditor-wrapper {
border: solid 1px #13161A;
@@ -2965,19 +2988,24 @@ table.diff tbody .diff_header:not([id]) {
.res.res-nightmode .side .icon-menu a:active {
box-shadow: inset 0 1px 1px #1c2026, 0 1px 0 #4b5767;
}
+.res.res-nightmode .side .md-container h1,
.res.res-nightmode .sidecontentbox > .title {
- border-bottom: solid 1px #191d23;
+ border-bottom: solid 1px #191d23 !important;
}
.res.res-nightmode .sidecontentbox > .title .collapse-button,
.res.res-nightmode .sidecontentbox > .title h1 {
color: inherit;
border-bottom: none;
}
+.res.res-nightmode .side .md-container,
.res.res-nightmode .sidecontentbox .content {
border-color: #13161A;
background: #20252c !important;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 0 #242a32;
}
+.res.res-nightmode .side .md-container h1 {
+ box-shadow: inset 0 1px 0 #475261, 0 2px 4px rgba(0, 0, 0, 0.3);
+}
.res.res-nightmode .subscribers,
.res.res-nightmode .users-online {
border-color: #0d0f11;
@@ -3131,13 +3159,7 @@ table.diff tbody .diff_header:not([id]) {
.res.res-nightmode .md tbody,
.res.res-nightmode .md tr,
.res.res-nightmode .md td,
-.res.res-nightmode .md em,
-.res.res-nightmode .md h1,
-.res.res-nightmode .md h2,
-.res.res-nightmode .md h3,
-.res.res-nightmode .md h4,
-.res.res-nightmode .md h5,
-.res.res-nightmode .md h6 {
+.res.res-nightmode .md em {
background: none !important;
color: inherit !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment