Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 54 additions & 19 deletions datafiles/static/hackage.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,21 +140,37 @@ pre, code, kbd, samp, .src {
font-size: 85%; /* 11pt */
}

.candidate-warn {
background-color: #ffdddd;
border-left: 6px solid #f44336;
padding: 0.01em 16px;
margin-bottom: 8px !important;
margin-top: 8px !important;
}
@media (prefers-color-scheme: dark) {
.candidate-warn {
border-left: 6px solid #f44336;
padding: 0.01em 16px;
margin-bottom: 8px !important;
margin-top: 8px !important;
}

.candidate-info {
background-color: #e7f3fe;
border-left: 6px solid #2196F3;
padding: 0.01em 16px;
margin-bottom: 8px;
.candidate-info {
border-left: 6px solid #2196F3;
padding: 0.01em 16px;
margin-bottom: 8px;
}
}

@media (prefers-color-scheme: light) {
.candidate-warn {
background-color: #ffdddd;
border-left: 6px solid #f44336;
padding: 0.01em 16px;
margin-bottom: 8px !important;
margin-top: 8px !important;
}

.candidate-info {
background-color: #e7f3fe;
border-left: 6px solid #2196F3;
padding: 0.01em 16px;
margin-bottom: 8px;
}
}

/* @end */

Expand Down Expand Up @@ -529,7 +545,6 @@ table.properties td, table.properties th {
padding-bottom: 3em;
}


#page-header {
background: #5E5184;
border-bottom: 5px solid rgba(69, 59, 97, 0.5);
Expand Down Expand Up @@ -1014,12 +1029,21 @@ p.tip {

/* Misc admin forms */

.box {
background: #faf9dc;
border: 1px solid #d8d7ad;
padding: 0.5em 1em;
max-width: 35em;
margin: 0.5em 0 1em 1em;
@media (prefers-color-scheme: dark) {
.box {
padding: 0.5em 1em;
max-width: 35em;
margin: 0.5em 0 1em 1em;
}
}
@media (prefers-color-scheme: light) {
.box {
background: #faf9dc;
border: 1px solid #d8d7ad;
padding: 0.5em 1em;
max-width: 35em;
margin: 0.5em 0 1em 1em;
}
}

table.simpletable th, table.simpletable td {
Expand Down Expand Up @@ -1210,3 +1234,14 @@ a.deprecated[href]:visited {
.paginator .current:hover {
border: 1px solid #979797;
}

@media (prefers-color-scheme: dark) {
div#modal #content {
background: #222;
}
}
@media (prefers-color-scheme: light) {
div#modal #content {
background: #fff;
}
}
1 change: 0 additions & 1 deletion datafiles/templates/packagePageAssets.st
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

div#modal #content {
border-radius: 8px;
background: #fff;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has to be removed, otherwise it takes precedence over hackage.css

padding: 20px;
}

Expand Down