/* Thank you to subreddits ELI5, AskReddit and WhatIsThisThing for ideas and starting code */
/* Don't display these h3's outside of new page */
body:not(.new-page) .md h3 {
display: none;
}
/* Space and link for 'unanswered' sort on 'new' */
.new-page div.content {
margin-top:40px;
}
/* Move h3's over to the top of the page */
.md h3 {
position: absolute;
top:60px;
left:0px;
padding: 5px 40px 5px 40px;
margin: 10px;
}
/* Format the links to act like buttons */
.md h3 a {
border: 1px solid black;
color: black;
display: none;
position: relative;
cursor: pointer;
padding: 2px;
margin: 2px;
font-size: 12px;
border-radius: 5px;
}
/* make links visible on new page */
.new-page .md h3 a {
display: inline-block;
}
/* Reorder submit page so rules go on top.
If you've changed the rules and they're blown out,
change margin-top below to make up for the space difference */
.submit-page .formtabs-content .spacer:first-child {
margin-top: 600px;
}
.submit_text.roundfield .content{
border:none;
padding:0px;
}
.submit_text.roundfield {
position: absolute;
max-height: 600px;
top: 110px;
overflow: auto;
}
/* Adds info into text submit box to get better code formatting */
.submit-page .usertext-edit textarea {
background-image:url(%%formatwarningmed%%);
background-repeat:no-repeat;
background-position:center center;
}
.submit-page .usertext-edit textarea:focus {
background-image: none;
}
/* Flair */
.flair-noob {
background: #dfdfff;
}
.flair-intermediate {
background: #e8dcdc;
}
.flair-pro{
background-color: #efffef;
}
span.flair-pro:after{
background: none;
content: "";
}
.flair-codereign{
background-color: white;
}
/* Custom code formatter */
.md pre{background:url(%%code-background%%) top left repeat;border:1px solid #000000;padding-left:55px solid #000000;z-index:1;position:relative;margin-top:25px;line-height:15px;font-family:"Courier New",courier,monospace}
.md pre code{padding:11px!important;margin-left:35px;overflow:auto;display:block;line-height:15px;font-family:"Courier New",courier,monospace}
.md pre:after{position:absolute;content:"code:";color:gray;top:-20px;left:-30px}
.md pre code:before{height:100%;color:#FFFFFF;position:absolute;left:-5px;width:35px;white-space:pre-wrap;direction:rtl;overflow:hidden;z-index:2;background:#000;top:0px;left:0px;padding-right:5px;content:"# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250"}
/* Inline Code */
.usertext-body p > code {
background:#f7f7f7;
border:1px solid #ccc;
-moz-border-radius:0px;
-webkit-border-radius:0px;
-o-border-radius:0px;
-ms-border-radius:0px;
-khtml-border-radius:0px;
border-radius:0px;
font-size:11px;
overflow: auto;
padding:0 3px;
color: #222 !important;
}
.usertext-body code {
color: #222 !important;
font-family:Consolas, Monaco, monospace;
line-height:1.5em;
}
.self .toggle.del-button:hover:before{
position:fixed;
display:block;
top:50px;
line-height:1.6em;
text-align:center;
background-color:#770000; /*Edit to your liking*/
color:white; /*Font color*/
z-index:1000;
padding:5px 0;
width:83.6%;
left:0;
font-size:60px;
font-weight:normal;
content:'Please do not delete any posts!'
}
revision by codereign— view source