mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-28 12:34:00 +03:00
fix: update more styleS
This commit is contained in:
parent
457be6ca6c
commit
e1f1c9e3ac
|
@ -1,25 +1,19 @@
|
||||||
// Bootstrap Variables
|
// Bootstrap Variables
|
||||||
|
|
||||||
// Navbar
|
// General Styles
|
||||||
// $navbar-brand-font-size: $font-size-lg !default;
|
$font-family-base: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
$navbar-padding-y: 0;
|
$font-size-base: 1rem * 0.875;
|
||||||
// $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
|
$color-contrast-dark: #333;
|
||||||
// $navbar-light-color: rgba(var(--#{$prefix}emphasis-color-rgb), .65) !default;
|
|
||||||
// $navbar-light-hover-color: rgba(var(--#{$prefix}emphasis-color-rgb), .8) !default;
|
|
||||||
// $navbar-light-active-color: rgba(var(--#{$prefix}emphasis-color-rgb), 1) !default;
|
|
||||||
// $navbar-dark-color: rgba($white, .55) !default;
|
|
||||||
// $navbar-dark-hover-color: rgba($white, .75) !default;
|
|
||||||
// $navbar-dark-active-color: $white !default;
|
|
||||||
|
|
||||||
// Dropdowns
|
// Navbar Styles
|
||||||
// $dropdown-padding-x: 0 !default;
|
$navbar-padding-y: 0;
|
||||||
// $dropdown-padding-y: .5rem !default;
|
$navbar-nav-link-padding-x: 1rem;
|
||||||
// $dropdown-spacer: .125rem !default;
|
|
||||||
// $dropdown-link-color: var(--#{$prefix}body-color) !default;
|
$dropdown-link-color: #a30000;
|
||||||
// $dropdown-link-hover-color: $dropdown-link-color !default;
|
$nav-link-color: #a30000;
|
||||||
// $dropdown-link-hover-bg: var(--#{$prefix}tertiary-bg) !default;
|
$nav-link-hover-color: #a30000;
|
||||||
$dropdown-font-size: 0.9rem;
|
|
||||||
$dropdown-color: #a30000;
|
$code-color: #d14;
|
||||||
|
|
||||||
// Configuration
|
// Configuration
|
||||||
@import "../../node_modules/bootstrap/scss/functions";
|
@import "../../node_modules/bootstrap/scss/functions";
|
||||||
|
@ -69,7 +63,42 @@ $dropdown-color: #a30000;
|
||||||
@import "../../node_modules/bootstrap/scss/utilities/api";
|
@import "../../node_modules/bootstrap/scss/utilities/api";
|
||||||
|
|
||||||
// Custom Classes
|
// Custom Classes
|
||||||
|
a {
|
||||||
|
color: #a30000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.prettyprint {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body hr {
|
||||||
|
border-top: 1px dotted #a30000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar {
|
||||||
|
border-top: 5px solid #a30000;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
background-color: #f7f7f9;
|
||||||
|
border: 1px solid #e1e1e8;
|
||||||
|
padding: 2px 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.body-content {
|
.body-content {
|
||||||
padding-top: 120px;
|
padding-top: 120px;
|
||||||
padding-bottom: 70px;
|
padding-bottom: 70px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.badges {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toclink {
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Code Blocks
|
||||||
|
|
Loading…
Reference in New Issue
Block a user