summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/Content/css/mods.css
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-10-20 15:10:44 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-10-20 15:10:44 -0400
commit28fdb9e4e7f5419947226171bf6d7efa273802c5 (patch)
tree26231b40f1e6c338e00f420b1856ae298dceea7c /src/SMAPI.Web/wwwroot/Content/css/mods.css
parentf09befe24047de8187276c722557b6f0fddd6e35 (diff)
downloadSMAPI-28fdb9e4e7f5419947226171bf6d7efa273802c5.tar.gz
SMAPI-28fdb9e4e7f5419947226171bf6d7efa273802c5.tar.bz2
SMAPI-28fdb9e4e7f5419947226171bf6d7efa273802c5.zip
add mod compatibility page (#597)
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content/css/mods.css')
-rw-r--r--src/SMAPI.Web/wwwroot/Content/css/mods.css85
1 files changed, 85 insertions, 0 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/css/mods.css b/src/SMAPI.Web/wwwroot/Content/css/mods.css
new file mode 100644
index 00000000..d250440f
--- /dev/null
+++ b/src/SMAPI.Web/wwwroot/Content/css/mods.css
@@ -0,0 +1,85 @@
+/*********
+** Intro
+*********/
+#content {
+ max-width: calc(100% - 2em); /* allow for wider table if room available */
+}
+
+#blurb {
+ margin-top: 0;
+ width: 50em;
+}
+
+#beta-blurb {
+ width: 50em;
+ margin-bottom: 2em;
+ padding: 1em;
+ border: 3px solid darkgreen;
+}
+
+table.wikitable {
+ background-color:#f8f9fa;
+ color:#222;
+ margin:1em 0;
+ border:1px solid #a2a9b1;
+ border-collapse:collapse
+}
+
+table.wikitable > tr > th,
+table.wikitable > tr > td,
+table.wikitable > * > tr > th,
+table.wikitable > * > tr > td {
+ border:1px solid #a2a9b1;
+ padding:0.2em 0.4em
+}
+
+table.wikitable > tr > th,
+table.wikitable > * > tr > th {
+ background-color:#eaecf0;
+}
+
+table.wikitable > caption {
+ font-weight:bold
+}
+
+#mod-list .mod-page-links,
+#mod-list .mod-alt-authors,
+#mod-list .mod-alt-names,
+#mod-list .mod-broke-in {
+ font-size: 0.8em;
+}
+
+#mod-list .mod-alt-authors,
+#mod-list .mod-alt-names {
+ display: block;
+}
+
+#mod-list tr {
+ font-size: 0.9em;
+}
+
+#mod-list tr[data-status="Ok"],
+#mod-list tr[data-status="Optional"] {
+ background: #9F9;
+}
+
+#mod-list tr[data-status="Workaround"],
+#mod-list tr[data-status="Unofficial"] {
+ background: #CF9;
+}
+
+#mod-list tr[data-status="Broken"] {
+ background: #F99;
+}
+
+#mod-list tr[data-status="Obsolete"],
+#mod-list tr[data-status="Abandoned"] {
+ background: #999;
+ opacity: 0.7;
+}
+
+#mod-list .mod-closed-source {
+ color: red;
+ font-size: 0.8em;
+ opacity: 0.5;
+}