diff options
Merge pull request #451 from picturepan2/0.5.2
0.5.2
1 files changed, 113 insertions, 67 deletions
| -rw-r--r-- | docs/dist/spectre.css | 180 |
diff --git a/docs/dist/spectre.css b/docs/dist/spectre.css index 1798d96..e879438 100644 --- a/docs/dist/spectre.css +++ b/docs/dist/spectre.css @@ -1,4 +1,4 @@ -/*! Spectre.css v0.5.1 | MIT License | github.com/picturepan2/spectre */ +/*! Spectre.css v0.5.2 | MIT License | github.com/picturepan2/spectre */ /* Manually forked from Normalize.css */ /* normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ /** 1. Change the default font family in all browsers (opinionated). 2. Correct the line height in all browsers. 3. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS. */ @@ -308,10 +308,14 @@ a:focus, a:hover, a:active, a.active { - color: #4240d4; + color: #302ecd; text-decoration: underline; } +a:visited { + color: #807fe2; +} + h1, h2, h3, @@ -449,10 +453,15 @@ dl dd { margin: .4rem 0 .8rem 0; } -:lang(zh) { +:lang(zh), +:lang(zh-Hans) { font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif; } +:lang(zh-Hant) { + font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", "Helvetica Neue", sans-serif; +} + :lang(ja) { font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Yu Gothic", YuGothic, Meiryo, "Helvetica Neue", sans-serif; } @@ -687,7 +696,7 @@ dl dd { .btn.btn-link:hover, .btn.btn-link:active, .btn.btn-link.active { - color: #4240d4; + color: #302ecd; } .btn.btn-sm { @@ -1176,6 +1185,7 @@ textarea.form-input { .input-group .form-select { -ms-flex: 1 1 auto; flex: 1 1 auto; + width: 1%; } .input-group .input-group-btn { @@ -1369,9 +1379,9 @@ input.disabled + .form-icon { } code { - background: #fdf4f4; + background: #fcf2f2; border-radius: .1rem; - color: #e06870; + color: #d73e48; font-size: 85%; line-height: 1.2; padding: .1rem .15rem; @@ -2469,8 +2479,6 @@ summary.accordion-header::-webkit-details-marker { .modal:target .modal-container, .modal.active .modal-container { animation: slide-down .2s ease 1; - max-width: 640px; - width: 100%; z-index: 1; } @@ -2492,16 +2500,26 @@ summary.accordion-header::-webkit-details-marker { background: #fff; border-radius: .1rem; box-shadow: 0 .2rem .5rem rgba(69, 77, 93, .3); - display: block; + display: flex; + display: -ms-flexbox; + -ms-flex-direction: column; + flex-direction: column; + max-height: 75vh; + max-width: 640px; padding: 0 .8rem; + width: 100%; +} + +.modal-container.modal-fullheight { + max-height: 100vh; } .modal-container .modal-header { + color: #454d5d; padding: .8rem; } .modal-container .modal-body { - max-height: 50vh; overflow-y: auto; padding: .8rem; position: relative; @@ -3026,6 +3044,10 @@ a.text-primary:hover { color: #4240d4; } +a.text-primary:visited { + color: #6c6ade; +} + .text-secondary { color: #e5e5f9; } @@ -3035,6 +3057,10 @@ a.text-secondary:hover { color: #d1d0f4; } +a.text-secondary:visited { + color: #fafafe; +} + .text-gray { color: #acb3c2; } @@ -3044,6 +3070,10 @@ a.text-gray:hover { color: #9ea6b7; } +a.text-gray:visited { + color: #bbc1cd; +} + .text-light { color: #fff; } @@ -3053,6 +3083,10 @@ a.text-light:hover { color: #f2f2f2; } +a.text-light:visited { + color: white; +} + .text-success { color: #32b643; } @@ -3062,6 +3096,10 @@ a.text-success:hover { color: #2da23c; } +a.text-success:visited { + color: #39c94b; +} + .text-warning { color: #ffb700; } @@ -3071,6 +3109,10 @@ a.text-warning:hover { color: #e6a500; } +a.text-warning:visited { + color: #ffbe1a; +} + .text-error { color: #e85600; } @@ -3080,6 +3122,10 @@ a.text-error:hover { color: #cf4d00; } +a.text-error:visited { + color: #ff6003; +} + .bg-primary { background: #5755d9; color: #fff; @@ -3295,15 +3341,15 @@ a.text-error:hover { } .relative { - position: relative; + position: relative !important; } .absolute { - position: absolute; + position: absolute !important; } .fixed { - position: fixed; + position: fixed !important; } .centered { @@ -3323,183 +3369,183 @@ a.text-error:hover { } .m-0 { - margin: 0; + margin: 0 !important; } .mb-0 { - margin-bottom: 0; + margin-bottom: 0 !important; } .ml-0 { - margin-left: 0; + margin-left: 0 !important; } .mr-0 { - margin-right: 0; + margin-right: 0 !important; } .mt-0 { - margin-top: 0; + margin-top: 0 !important; } .mx-0 { - margin-left: 0; - margin-right: 0; + margin-left: 0 !important; + margin-right: 0 !important; } .my-0 { - margin-bottom: 0; - margin-top: 0; + margin-bottom: 0 !important; + margin-top: 0 !important; } .m-1 { - margin: .2rem; + margin: .2rem !important; } .mb-1 { - margin-bottom: .2rem; + margin-bottom: .2rem !important; } .ml-1 { - margin-left: .2rem; + margin-left: .2rem !important; } .mr-1 { - margin-right: .2rem; + margin-right: .2rem !important; } .mt-1 { - margin-top: .2rem; + margin-top: .2rem !important; } .mx-1 { - margin-left: .2rem; - margin-right: .2rem; + margin-left: .2rem !important; + margin-right: .2rem !important; } .my-1 { - margin-bottom: .2rem; - margin-top: .2rem; + margin-bottom: .2rem !important; + margin-top: .2rem !important; } .m-2 { - margin: .4rem; + margin: .4rem !important; } .mb-2 { - margin-bottom: .4rem; + margin-bottom: .4rem !important; } .ml-2 { - margin-left: .4rem; + margin-left: .4rem !important; } .mr-2 { - margin-right: .4rem; + margin-right: .4rem !important; } .mt-2 { - margin-top: .4rem; + margin-top: .4rem !important; } .mx-2 { - margin-left: .4rem; - margin-right: .4rem; + margin-left: .4rem !important; + margin-right: .4rem !important; } .my-2 { - margin-bottom: .4rem; - margin-top: .4rem; + margin-bottom: .4rem !important; + margin-top: .4rem !important; } .p-0 { - padding: 0; + padding: 0 !important; } .pb-0 { - padding-bottom: 0; + padding-bottom: 0 !important; } .pl-0 { - padding-left: 0; + padding-left: 0 !important; } .pr-0 { - padding-right: 0; + padding-right: 0 !important; } .pt-0 { - padding-top: 0; + padding-top: 0 !important; } .px-0 { - padding-left: 0; - padding-right: 0; + padding-left: 0 !important; + padding-right: 0 !important; } .py-0 { - padding-bottom: 0; - padding-top: 0; + padding-bottom: 0 !important; + padding-top: 0 !important; } .p-1 { - padding: .2rem; + padding: .2rem !important; } .pb-1 { - padding-bottom: .2rem; + padding-bottom: .2rem !important; } .pl-1 { - padding-left: .2rem; + padding-left: .2rem !important; } .pr-1 { - padding-right: .2rem; + padding-right: .2rem !important; } .pt-1 { - padding-top: .2rem; + padding-top: .2rem !important; } .px-1 { - padding-left: .2rem; - padding-right: .2rem; + padding-left: .2rem !important; + padding-right: .2rem !important; } .py-1 { - padding-bottom: .2rem; - padding-top: .2rem; + padding-bottom: .2rem !important; + padding-top: .2rem !important; } .p-2 { - padding: .4rem; + padding: .4rem !important; } .pb-2 { - padding-bottom: .4rem; + padding-bottom: .4rem !important; } .pl-2 { - padding-left: .4rem; + padding-left: .4rem !important; } .pr-2 { - padding-right: .4rem; + padding-right: .4rem !important; } .pt-2 { - padding-top: .4rem; + padding-top: .4rem !important; } .px-2 { - padding-left: .4rem; - padding-right: .4rem; + padding-left: .4rem !important; + padding-right: .4rem !important; } .py-2 { - padding-bottom: .4rem; - padding-top: .4rem; + padding-bottom: .4rem !important; + padding-top: .4rem !important; } .rounded { |