Files
Discord.Net/docs/_template/light-dark-theme/styles/light.css
Chris Johnston b80f0e84e7 docs: Use a relative path for docs index page logo (#1276)
* Use a relative path for docs index page logo

Changes the paths for the logo on the index page of the documentation
to use relative links instead of absolute ones.

The current absolute path is just fine as long as the site
is not hosted under another directory. When opening files locally
(without serving them in docfx) these images will fail to load.
In addition, if these files are served under a directory that is
not the root endpoint (like: `docs.com/stable/`) the images will
also break.

I tested these changes locally using these steps:

- Build & serve docs: `docfx docs/docfx.json --serve`
- Verify that logo shows up on index page using all 3 themes
- Open `docs/_site/index.html`
- Verify logo works on all 3 themes

* Minor grammar fix in DiscordSocketClient
2019-03-16 14:35:45 -04:00

118 lines
2.2 KiB
CSS

/* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */
@import url('tomorrow.css');
html,
body {
background: #fff;
color: #000;
}
.sideaffix {
overflow: visible;
}
/* links */
a:active, a:hover, a:visited {
color: #0078d7;
}
a {
color: #0050c5;
cursor: pointer;
text-decoration: none;
word-wrap: break-word;
}
/* alert */
.alert-info {
color: #165e82;
background-color: #c1e0ef;
border-color: #8cbfd8;
}
.alert-warning {
color: #825e16;
background-color: #efe0c1;
border-color: #d8bf8c;
}
.alert-danger {
color: #821616;
background-color: #efc1c1;
border-color: #d88c8c;
}
/* code */
code {
color: #9c3a3f;
background-color: #ececec;
border-radius: 4px;
padding: 3px 7px;
}
/* table */
.table-striped>tbody>tr:nth-of-type(odd) {
color: #333333;
background-color: #d3d3d3
}
tbody>tr {
color: #424242;
background-color: #c0c0c0
}
.table>tbody+tbody {
border-top: 2px solid rgb(173, 173, 173)
}
/* select */
select {
background-color: #fcfcfc;
border-color: #aeb1b5;
}
/*
Following code regarding collapse container are fetched
or modified from the Materialize project.
The MIT License (MIT)
Copyright (c) 2014-2018 Materialize
https://github.com/Dogfalo/materialize
*/
/* all collapse container */
.collapse-container.last-modified {
-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
border-top: 1px solid #ddd;
border-right: 1px solid #ddd;
border-left: 1px solid #ddd;
}
/* header */
.collapse-container.last-modified>:nth-child(odd) {
background-color: #fff;
border-bottom: 1px solid #ddd;
}
/* body */
.collapse-container.last-modified>:nth-child(even) {
border-bottom: 1px solid #ddd;
}
span.arrow-d{
border-top: 5px solid black
}
span.arrow-r{
border-left: 5px solid black
}
.logo-switcher {
background: url("../marketing/logo/SVG/Combinationmark.svg") no-repeat;
}