* Fix broken link (#11) * Fix typos and improve wording * Add information for IGuildUser + Add GetPermission sample + Add ModifyAsync remarks * Add information for IGuildChannel + Add ModifyAsync remarks + Add GetOverwritePermissionAsync examples * Add warning for Direction.Around * Fix indentations and references * Move IRole.ModifyAsync sample * Add information for IUser + Add example, remarks for Get(Default)AvatarUrl + Add example, remarks for GetOrCreateDMChannelAsync + Add missing remarks/summary/returns for other properties of the class * Change verbs used in IVoiceState summary/remarks * Add additional explanation for IGuildUser.RoleIds * Change verbs used in IMessage summary/remarks * Clarify IUserMessage Add/RemoveReactionAsync samples * Fix command handler sample typo * Add information for DiscordSocketConfig + Add remarks/example to the class + Add remarks to AlwaysDownloadUsers * Fix documentation for SlowMode * Add additional remarks for Guild/TextChannelProperties * Update DocFx.Plugins.LastModified to v1.2.0 This should drastically improve docfx build time. * Add missing dependencies * Update DocFx.Plugins.LastModified to v1.2.1 Improve performance * Update DocFx.Plugins.LastModified to v1.2.2 * Clarify deployment.md + Rewritten .NET Core deployment strategies for better clarification * Split deployment types into framework-dependent and self-contained * Clarify the benefits of using different types of publishing * Include a sample of how to execute dotnet application with the dotnet command in a TIP dialog for visibility * Update post-execution article and samples + This change is to reflect changes made in https://github.com/RogueException/Discord.Net/pull/1164, where CommandInfo is now passed into the CommandExecuted event as an Optional<T> * Update DocFX.Plugin.DescriptionGenerator to v1.1.1 * Adjust according to recent CommandExecuted changes See: +f549da50e0+6260749095* Add further documentation for https://github.com/RogueException/Discord.Net/pull/1037 * Add partial documentation for the precondition helper class * Include CHANGELOG.md in docs * Revise post-execution docs * Fix incorrect Optional<T> usage * Indent some sample code and add a comment reminding the user that the post-execution basic sample code is not ideal. * Streamline docs for Attachment + This commit also adds further explanation for why Embeds and Attachments are read-only collections * Add further documentation for MessageActivity and MessageApplication * Add caching-related docs to ISocketMessageChannel * Add missing documentation inheritance for SyncPermissionsAsync * Streamline documentation process This is done by changing the documentation of the implementations required by interfaces to redirect to the interface method instead (e.g., SocketDMChannel#GetMessagesAsync refer to IMessageChannel.GetMessagesAsync within the remarks of the method). * Cleanup92bf8363ca* Update src/Discord.Net.Core/Entities/Channels/Direction.cs Co-Authored-By: Still34 <341464@gmail.com> * Update src/Discord.Net.Core/Entities/Channels/Direction.cs Co-Authored-By: Still34 <341464@gmail.com> * Update src/Discord.Net.Core/Entities/Channels/GuildChannelProperties.cs Co-Authored-By: Still34 <341464@gmail.com> * Update src/Discord.Net.WebSocket/DiscordSocketConfig.cs Co-Authored-By: Still34 <341464@gmail.com> * Update according to PR suggestions * Reword sentences of deployment article for clarification & remove mention of portability * Fix typos/grammar errors within TextChannelProperties * Add the logo SVG to the page navbar * Implement changing logo image based on theme color using CSS background image * Add a favicon * use the purple logomark instead of white * hack? set the title to navbar svg to read "Discord.Net Docs"
309 lines
5.2 KiB
CSS
309 lines
5.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('vs2015.css');
|
|
html,
|
|
body {
|
|
background: #212121;
|
|
color: #C0C0C0;
|
|
}
|
|
|
|
button,
|
|
a {
|
|
color: #64B5F6;
|
|
}
|
|
|
|
.sidenav{
|
|
background-color: rgb(30, 30, 30);
|
|
}
|
|
|
|
button:hover,
|
|
button:focus,
|
|
a:hover,
|
|
a:focus,
|
|
.btn:focus,
|
|
.btn:hover{
|
|
color: #2196F3;
|
|
}
|
|
|
|
a.disable,
|
|
a.disable:hover {
|
|
color: #EEEEEE;
|
|
}
|
|
|
|
.divider {
|
|
color: #37474F;
|
|
}
|
|
|
|
hr {
|
|
border-color: #37474F;
|
|
}
|
|
|
|
.subnav {
|
|
background: #383838
|
|
}
|
|
|
|
.inheritance h5,
|
|
.inheritedMembers h5 {
|
|
border-bottom: 1px solid #37474F;
|
|
}
|
|
|
|
article h4 {
|
|
border-bottom: 1px solid #37474F;
|
|
}
|
|
|
|
.docs-search {
|
|
background: #424242;
|
|
}
|
|
|
|
.search-results-group-heading {
|
|
color: #424242;
|
|
}
|
|
|
|
.search-close {
|
|
color: #424242;
|
|
}
|
|
|
|
.sidetoc {
|
|
background-color: #1b1b1b;
|
|
border-left: 0px solid #37474F;
|
|
border-right: 0px solid #37474F;
|
|
}
|
|
|
|
.sideaffix {
|
|
overflow: visible;
|
|
}
|
|
|
|
.sideaffix>div.contribution>ul>li>a.contribution-link:hover {
|
|
background-color: #333333;
|
|
}
|
|
|
|
/* toc */
|
|
|
|
.toc .nav>li>a {
|
|
color: rgb(218, 218, 218);
|
|
}
|
|
|
|
.toc .nav>li>a:hover,
|
|
.toc .nav>li>a:focus {
|
|
color: #E0E0E0;
|
|
}
|
|
|
|
.toc .nav>li.active>a {
|
|
color: #90CAF9;
|
|
}
|
|
|
|
.toc .nav>li.active>a:hover,
|
|
.toc .nav>li.active>a:focus {
|
|
background-color: #37474F;
|
|
color: #4FC3F7;
|
|
}
|
|
|
|
.sidefilter {
|
|
background-color: #1b1b1b;
|
|
border-left: 0px solid #37474F;
|
|
border-right: 0px solid #37474F;
|
|
}
|
|
|
|
.affix ul>li>a:hover {
|
|
background: none;
|
|
color: #EEEEEE;
|
|
}
|
|
|
|
.affix ul>li.active>a,
|
|
.affix ul>li.active>a:before {
|
|
color: #B3E5FC;
|
|
}
|
|
|
|
.affix ul>li>a {
|
|
color: #EEEEEE;
|
|
}
|
|
|
|
.affix>ul>li.active>a,
|
|
.affix>ul>li.active>a:before {
|
|
color: #B3E5FC;
|
|
}
|
|
|
|
.tryspan {
|
|
border-color: #37474F;
|
|
}
|
|
|
|
.footer {
|
|
border-top: 1px solid #5F5F5F;
|
|
background: #616161;
|
|
}
|
|
|
|
/* alert */
|
|
.alert-info {
|
|
color: #d9edf7;
|
|
background: #004458;
|
|
border-color: #005873;
|
|
}
|
|
|
|
.alert-warning {
|
|
color: #fffaf2;
|
|
background: #80551a;
|
|
border-color: #99661f;
|
|
}
|
|
|
|
.alert-danger {
|
|
color: #fff2f2;
|
|
background: #4d0000;
|
|
border-color: #660000;
|
|
}
|
|
|
|
/* For tabbed content */
|
|
|
|
.tabGroup {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.tabGroup ul[role="tablist"] {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.tabGroup ul[role="tablist"]>li {
|
|
list-style: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.tabGroup a[role="tab"] {
|
|
color: white;
|
|
box-sizing: border-box;
|
|
display: inline-block;
|
|
padding: 5px 7.5px;
|
|
text-decoration: none;
|
|
border-bottom: 2px solid #fff;
|
|
}
|
|
|
|
.tabGroup a[role="tab"]:hover,
|
|
.tabGroup a[role="tab"]:focus,
|
|
.tabGroup a[role="tab"][aria-selected="true"] {
|
|
border-bottom: 2px solid #607D8B;
|
|
}
|
|
|
|
.tabGroup a[role="tab"][aria-selected="true"] {
|
|
color: #81D4FA;
|
|
}
|
|
|
|
.tabGroup a[role="tab"]:hover,
|
|
.tabGroup a[role="tab"]:focus {
|
|
color: #29B6F6;
|
|
}
|
|
|
|
.tabGroup a[role="tab"]:focus {
|
|
outline: 1px solid #607D8B;
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.tabGroup a[role="tab"] {
|
|
padding: 5px 15px;
|
|
}
|
|
}
|
|
|
|
.tabGroup section[role="tabpanel"] {
|
|
border: 1px solid #607D8B;
|
|
padding: 15px;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tabGroup section[role="tabpanel"]>.codeHeader,
|
|
.tabGroup section[role="tabpanel"]>pre {
|
|
margin-left: -16px;
|
|
margin-right: -16px;
|
|
}
|
|
|
|
.tabGroup section[role="tabpanel"]> :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.tabGroup section[role="tabpanel"]>pre:last-child {
|
|
display: block;
|
|
margin-bottom: -16px;
|
|
}
|
|
|
|
.mainContainer[dir='rtl'] main ul[role="tablist"] {
|
|
margin: 0;
|
|
}
|
|
|
|
/* code */
|
|
|
|
code {
|
|
color: white;
|
|
background-color: #4a4c52;
|
|
border-radius: 4px;
|
|
padding: 3px 7px;
|
|
}
|
|
|
|
pre {
|
|
background-color: #282a36;
|
|
}
|
|
|
|
/* table */
|
|
|
|
.table-striped>tbody>tr:nth-of-type(odd) {
|
|
background-color: #333333;
|
|
color: #d3d3d3
|
|
}
|
|
|
|
tbody>tr {
|
|
background-color: #424242;
|
|
color: #c0c0c0
|
|
}
|
|
|
|
.table>tbody+tbody {
|
|
border-top: 2px solid rgb(173, 173, 173)
|
|
}
|
|
|
|
/* select */
|
|
|
|
select {
|
|
background-color: #3b3b3b;
|
|
border-color: #2e2e2e;
|
|
}
|
|
|
|
/*
|
|
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(50, 50, 50, 0.64), 0 3px 1px -2px rgba(50, 50, 50, 0.62), 0 1px 5px 0 rgba(50, 50, 50, 0.7);
|
|
box-shadow: 0 2px 2px 0 rgba(50, 50, 50, 0.64), 0 3px 1px -2px rgba(50, 50, 50, 0.62), 0 1px 5px 0 rgba(50, 50, 50, 0.7);
|
|
border-top: 1px solid rgba(96, 96, 96, 0.7);
|
|
border-right: 1px solid rgba(96, 96, 96, 0.7);
|
|
border-left: 1px solid rgba(96, 96, 96, 0.7);
|
|
}
|
|
|
|
/* header */
|
|
.collapse-container.last-modified>:nth-child(odd) {
|
|
background-color: #3f3f3f;
|
|
border-bottom: 1px solid rgba(96, 96, 96, 0.7);
|
|
}
|
|
|
|
/* body */
|
|
.collapse-container.last-modified>:nth-child(even) {
|
|
border-bottom: 1px solid rgba(96, 96, 96, 0.7);
|
|
background-color: inherit;
|
|
}
|
|
|
|
span.arrow-d{
|
|
border-top: 5px solid white
|
|
}
|
|
|
|
span.arrow-r{
|
|
border-left: 5px solid white
|
|
}
|
|
|
|
.logo-switcher {
|
|
background: url("/marketing/logo/SVG/Combinationmark White.svg") no-repeat;
|
|
}
|