You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

material.css 3.3 kB

docs: Main docs update (#1304) * Remove template in favor of official samples * Fixed a variable name copy pasta mistake line 35 was _database.GetData() instead of DBService.GetData() * Experimental theme change * Change paragraph, code, heading fonts * Widen viewport * Update DocFX.Plugins.LastModified v1.2.3 * Exclude Discord.API in docs * Add remarks for SocketReaction properties * Add examples for BaseSocketClient.Events * Add additional clarification for some methods * Move IUser and IGuildChannel examples * Clarify several guides samples with notes - Reword TypeReader comment to avoid giving the idea that the sample itself is "obsolete" - Remove CommandException logging comment regarding C#7.0 as the version is now the standard across VS2017 and up - Remove suggestion about handling result in command handler since it is now advised to use CommandExecuted instead + Add additional comment to clarify ctor for DI setup * Add/migrate code examples * Incorporate material design theme License @ https://github.com/ovasquez * Update installation and nightly guide * Fix improper indentations made obvious by the widen viewport * Fix minor grammar issues + Add installation for nightly build using dotnet CLI * Fix nav level indentation * Revise "Your First Bot" article * Merge some paragraphs to avoid clutter while keeping readability * Reword the use of command framework + Add additional warning/note about environment variable * Add additional indent level * Fix indentation text warping * Remove connections sample * Update logging sample Remove redundant part of the sample * Remove mention of RPC * Remove misleading section about commands - Remove command sample from complete snippet * Revise "Your First Bot" command paragraphs * Change wording to hint devs that additional command parser packages may be available, as more and more begin to crop up * Update themes * Add XML docs contribution guidelines Update guidelines * Update CommandExecuted remarks * Fix precondition remarks typo no one saw that ok * Fix permission sample in docfx * Fix IMessageChannel samples * Update docs/_template/light-dark-theme/styles/docfx.vendor.minify.css Co-Authored-By: Still34 <341464@gmail.com> * Update docs/_template/light-dark-theme/styles/material.css Co-Authored-By: Still34 <341464@gmail.com> * Update docs/_template/light-dark-theme/styles/material.css Co-Authored-By: Still34 <341464@gmail.com>
6 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. body {
  2. color: #34393e;
  3. line-height: 1.5;
  4. /*font-size: 16px;*/
  5. -ms-text-size-adjust: 100%;
  6. -webkit-text-size-adjust: 100%;
  7. word-wrap: break-word
  8. }
  9. /* HEADINGS */
  10. h1 {
  11. font-weight: 600;
  12. font-size: 32px;
  13. }
  14. h2 {
  15. font-weight: 600;
  16. font-size: 24px;
  17. line-height: 1.8;
  18. }
  19. h3 {
  20. font-weight: 600;
  21. font-size: 20px;
  22. line-height: 1.8;
  23. }
  24. h5 {
  25. font-size: 14px;
  26. padding: 10px 0px;
  27. }
  28. article h1,
  29. article h2,
  30. article h3,
  31. article h4 {
  32. margin-top: 35px;
  33. margin-bottom: 15px;
  34. }
  35. article h4 {
  36. padding-bottom: 8px;
  37. border-bottom: 2px solid #ddd;
  38. }
  39. /* NAVBAR */
  40. .navbar-brand>img {
  41. color: #fff;
  42. }
  43. .navbar {
  44. border: none;
  45. /* Both navbars use box-shadow */
  46. -webkit-box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5);
  47. -moz-box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5);
  48. box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5);
  49. }
  50. .subnav {
  51. border-top: 1px solid #ddd;
  52. background-color: #fff;
  53. }
  54. .navbar-inverse {
  55. background-color: #0d47a1;
  56. z-index: 100;
  57. }
  58. .navbar-inverse .navbar-nav>li>a,
  59. .navbar-inverse .navbar-text {
  60. color: #fff;
  61. /*background-color: #0d47a1;*/
  62. border-bottom: 3px solid transparent;
  63. padding-bottom: 12px;
  64. }
  65. .navbar-inverse .navbar-nav>li>a:focus,
  66. .navbar-inverse .navbar-nav>li>a:hover {
  67. color: #fff;
  68. background-color: #1157c0;
  69. border-bottom: 3px solid white;
  70. }
  71. .navbar-inverse .navbar-nav>.active>a,
  72. .navbar-inverse .navbar-nav>.active>a:focus,
  73. .navbar-inverse .navbar-nav>.active>a:hover {
  74. color: #fff;
  75. background-color: #1157c0;
  76. border-bottom: 3px solid white;
  77. }
  78. .navbar-form .form-control {
  79. border: none;
  80. border-radius: 20px;
  81. }
  82. /* SIDEBAR */
  83. /*.toc .level1>li {
  84. font-weight: 400;
  85. }*/
  86. .toc .nav>li>a {
  87. color: #34393e;
  88. }
  89. .sidefilter {
  90. background-color: #fff;
  91. border-left: none;
  92. border-right: none;
  93. }
  94. .sidefilter {
  95. background-color: #fff;
  96. border-left: none;
  97. border-right: none;
  98. }
  99. .toc-filter {
  100. padding: 10px;
  101. margin: 0;
  102. }
  103. .toc-filter>input {
  104. border: 2px solid #ddd;
  105. border-radius: 20px;
  106. }
  107. .toc-filter>.filter-icon {
  108. display: none;
  109. }
  110. .sidetoc>.toc {
  111. overflow-x: hidden;
  112. }
  113. .sidetoc {
  114. border: none;
  115. }
  116. /* ALERTS */
  117. .alert {
  118. padding: 0px 0px 5px 0px;
  119. color: inherit;
  120. background-color: inherit;
  121. border: none;
  122. box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.4);
  123. }
  124. .alert>p {
  125. margin-bottom: 0;
  126. padding: 5px 10px;
  127. }
  128. .alert>ul {
  129. margin-bottom: 0;
  130. padding: 5px 40px;
  131. }
  132. .alert>h5 {
  133. padding: 10px 15px;
  134. margin-top: 0;
  135. text-transform: uppercase;
  136. font-weight: bold;
  137. border-radius: 4px 4px 0 0;
  138. }
  139. .alert-info>h5 {
  140. color: #1976d2;
  141. border-bottom: 4px solid #1976d2;
  142. background-color: #e3f2fd;
  143. }
  144. .alert-warning>h5 {
  145. color: #f57f17;
  146. border-bottom: 4px solid #f57f17;
  147. background-color: #fff3e0;
  148. }
  149. .alert-danger>h5 {
  150. color: #d32f2f;
  151. border-bottom: 4px solid #d32f2f;
  152. background-color: #ffebee;
  153. }
  154. /* CODE HIGHLIGHT */
  155. pre {
  156. padding: 9.5px;
  157. margin: 10px 10px 10px;
  158. font-size: 13px;
  159. word-break: break-all;
  160. word-wrap: break-word;
  161. /*background-color: #fffaef;*/
  162. border-radius: 4px;
  163. box-shadow: 0px 1px 4px 1px rgba(100, 100, 100, 0.4);
  164. }