Skip to content

Commit 91b8fa6

Browse files
authored
Merge pull request #711 from haskell/gb/resdesign-css-fixes
small fixes to hackage.css
2 parents 87c342f + 160e5d4 commit 91b8fa6

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

datafiles/static/hackage.css

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ div #properties {
224224
min-width:350px;
225225
background: #fefefe;
226226
width:25vw;
227-
margin-left:12px;
227+
margin-left:15px;
228+
margin-bottom:15px;
228229
}
229230

230231
div #description img {
@@ -245,7 +246,7 @@ table.properties td, table.properties th {
245246
}
246247

247248
.word-wrap {
248-
/* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
249+
/* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
249250
-ms-word-break: break-all;
250251
word-break: break-all;
251252
/* Non standard for webkit */
@@ -254,7 +255,6 @@ table.properties td, table.properties th {
254255
-moz-hyphens: auto;
255256
-ms-hyphens: auto;
256257
hyphens: auto;
257-
258258
}
259259
/* @end */
260260

@@ -725,6 +725,17 @@ ul.links li form button {
725725
#module-list ul {
726726
list-style: none;
727727
margin: 0 0 0 2em;
728+
729+
/* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
730+
-ms-word-break: break-all;
731+
word-break: break-all;
732+
/* Non standard for webkit */
733+
word-break: break-word;
734+
-webkit-hyphens: auto;
735+
-moz-hyphens: auto;
736+
-ms-hyphens: auto;
737+
hyphens: auto;
738+
728739
}
729740

730741
#detailed-dependencies ul {
@@ -865,14 +876,14 @@ ul.directory-list {
865876

866877
/* Package versions */
867878

868-
.versions a.normal[href]:link {
869-
color: #61B01E;
879+
a.unpreferred[href]:link {
880+
color: #ECBA13;
870881
}
871882

872-
.versions a.unpreferred[href]:link {
873-
color: #FACC1F;
883+
a.deprecated[href]:link {
884+
color: #D00B3C;
874885
}
875886

876-
.versions a.deprecated[href]:link {
877-
color: #E80C43;
887+
.versions a.normal[href]:link {
888+
color: #61B01E;
878889
}

0 commit comments

Comments
 (0)