Skip to content

Commit

Permalink
Merge pull request duckduckgo#1312 from spentacular/cheatsheet-styles
Browse files Browse the repository at this point in the history
Updating CSS from issue duckduckgo#1226
  • Loading branch information
moollaza committed Jul 20, 2015
2 parents 8768962 + fe97cfc commit f3a26c4
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions share/goodie/cheat_sheets/cheat_sheets.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.zci--cheat_sheets .cheatsheet__title {
padding-bottom: 1em;
font-size: 1.1111em;
font-size: 1em;
font-weight: bold;
}

Expand All @@ -20,20 +20,21 @@

.zci--cheat_sheets td {
vertical-align: top;
padding-bottom: 10px;
}

.zci--cheat_sheets code {
display: inline-block;
border: 1px solid #e0e0e0;
padding: 3px 5px 0px;
padding: 2px 5px 0px;
border-radius: 2px;
font-size: 0.833em;
color: #333;
background-color: #fff;
white-space: normal;
word-break: normal;
margin-bottom: 0.2em;
line-height: 1.7;
line-height: 1.4;
}

.zci--cheat_sheets td.cheatsheet__key {
Expand All @@ -42,20 +43,16 @@
}

.zci--cheat_sheets td.cheatsheet__value {
padding-top: 3px;
padding-left: 14px;
line-height: 1.4;
}

.zci--cheat_sheets .cheatsheet__footer {
border-top: 1px solid rgba(0,0,0,0.15);
padding-top: 10px;
clear: both;
}

.zci--cheat_sheets .cheatsheet__footer hr {
color: rgba(0,0,0,.15);
}

/* Media queries for smaller screens... */
@media (max-width:350px) {

Expand Down

0 comments on commit f3a26c4

Please sign in to comment.