mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix guides rtl css out of sync with ltr
A few changes were made to main.css that didn't make it to main.rtl.css: -f6bcd14
-9695943
-674d952
-5443c96
This commit is contained in:
parent
7669a4a975
commit
02449bf8bf
1 changed files with 23 additions and 5 deletions
|
@ -29,12 +29,12 @@ pre, code {
|
|||
font-size: 1em;
|
||||
font-family: "Anonymous Pro", "Inconsolata", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
|
||||
line-height: 1.5;
|
||||
margin: 1.5em 0;
|
||||
margin: 1em 0;
|
||||
overflow: auto;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
p code {
|
||||
p code, ul code {
|
||||
background: #eee;
|
||||
border-radius: 2px;
|
||||
padding: 1px 3px;
|
||||
|
@ -186,11 +186,16 @@ body {
|
|||
}
|
||||
.more-info:after {
|
||||
content: " |";
|
||||
color: #8a8a8a;
|
||||
}
|
||||
|
||||
.more-info:last-child:after {
|
||||
content: "";
|
||||
}
|
||||
|
||||
#topNav a, #footer a {
|
||||
color: #F1938C;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
|
@ -761,13 +766,26 @@ div.important p, div.caution p, div.warning p, div.note p, div.info p {
|
|||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/* When triple-clicking console code, select only the command, not the prompt */
|
||||
code.highlight.console span.w, code.highlight.irb span.w {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
/* Version Badge
|
||||
--------------------------------------- */
|
||||
|
||||
#version-badge {
|
||||
position: fixed;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
border: none;
|
||||
color: white;
|
||||
font-size: 30px;
|
||||
transform: rotate(45deg) translate(27.5%, -40%);
|
||||
min-width: 200px;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
box-shadow: 0px 2px 2px 1px #1209096e;
|
||||
text-shadow: 2px 2px 4px #5400007d;
|
||||
background: radial-gradient(circle, rgb(255, 10, 0) 0%, rgb(200, 0, 0) 90%);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue