Download:
child 276:019d9192cf9c
parent 274:570f7fb00b52
275:e6287af9cab4
Anton Shestakov <av6@dwimlabs.net>, Sun, 30 Jul 2017 13:27:33 +0800
viewer: rename main.css to candolint.css

3 файлов изменено, 160 вставок(+), 160 удалений(-) [+]
static/candolint.css file | annotate | diff | comparison | revisions
static/main.css file | annotate | diff | comparison | revisions
templates/base.html file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/static/candolint.css Sun Jul 30 13:27:33 2017 +0800
@@ -0,0 +1,159 @@
+.navbar {
+ background-color: #555555;
+ background: linear-gradient(0deg, rgba(0,0,0,.1), rgba(187,187,187,.1)), linear-gradient(0deg, #555555, #555555);
+ border: none;
+}
+
+.brand {
+ margin: 0;
+ height: 48px;
+ color: #fff;
+ text-shadow: 0 1px 0 rgba(0,0,0,.3);
+ overflow: hidden;
+ position: relative;
+}
+
+.brand:active,
+.brand:focus,
+.brand:hover {
+ color: #fff;
+}
+
+.trigger {
+ display: inline-block;
+}
+
+.mascots {
+ position: absolute;
+ top: 0;
+ left: 0;
+ margin-top: 48px;
+ transition: margin-top 0.1s ease-in-out;
+}
+
+.mascots img {
+ height: 48px;
+ transition: transform 0.1s ease-in-out;
+}
+
+.trigger:hover .mascots {
+ margin-top: 6px;
+}
+
+.trigger:hover .mascots img {
+ transform: rotate(10deg);
+}
+
+.trigger:hover .mascots img:last-child {
+ transform: rotate(-10deg);
+}
+
+.trigger:hover .mascots,
+.trigger:hover .mascots img {
+ transition-delay: 1s;
+}
+
+@media (min-width: 768px) {
+ .list-terse > dt {
+ width: 120px;
+ }
+ .list-terse > dd {
+ margin-left: 130px;
+ }
+}
+
+.badge-codes-modal {
+ width: 800px;
+}
+
+.snippet {
+ white-space: pre-wrap;
+ word-break: break-all;
+ word-wrap: break-word;
+}
+
+.wrap-normal {
+ white-space: normal;
+}
+
+.uk-badge {
+ border: none;
+ border-radius: 3px;
+ text-shadow: 0 1px 0 rgba(0,0,0,.3);
+}
+
+.uk-badge-unknown {
+ background: #898989;
+}
+
+.check-log {
+ background: #3c3c3c;
+ color: white;
+ border-color: #2a2a2a;
+ font-size: 13px;
+ white-space: pre-wrap;
+ word-break: break-all;
+ word-wrap: break-word;
+}
+
+.check-log div {
+ padding: 0 0 0 42px;
+ margin: 0;
+}
+
+.check-log div:target {
+ background: #4c4c4c;
+}
+
+.check-log a.lineno {
+ display: inline-block;
+ text-align: right;
+ min-width: 42px; /* 4 digits */
+ margin-left: -42px;
+ text-decoration: none;
+ color: #929292;
+}
+
+.check-log a.lineno::before {
+ content: attr(data-line-number);
+ padding-right: 10px;
+}
+
+.check-log a.filelink {
+ color: inherit;
+ text-decoration: underline;
+}
+
+.check-log a.collapser {
+ margin-left: 8px;
+ color: inherit;
+ text-decoration: underline;
+}
+
+.check-log a.collapser::before {
+ content: '[-]'
+}
+
+.check-log a.collapser.collapsed::before {
+ content: '[+]'
+}
+
+.check-log .error {
+ color: #f277a1;
+}
+
+.check-log .warning {
+ color: #f1bf8e;
+}
+
+.check-log .task {
+ color: #bb84b4;
+}
+
+.check-log .meta {
+ color: #929292;
+}
+
+.check-log .failure {
+ color: #f1bf8e;
+}
--- a/static/main.css Sun Jul 30 13:25:20 2017 +0800
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,159 +0,0 @@
-.navbar {
- background-color: #555555;
- background: linear-gradient(0deg, rgba(0,0,0,.1), rgba(187,187,187,.1)), linear-gradient(0deg, #555555, #555555);
- border: none;
-}
-
-.brand {
- margin: 0;
- height: 48px;
- color: #fff;
- text-shadow: 0 1px 0 rgba(0,0,0,.3);
- overflow: hidden;
- position: relative;
-}
-
-.brand:active,
-.brand:focus,
-.brand:hover {
- color: #fff;
-}
-
-.trigger {
- display: inline-block;
-}
-
-.mascots {
- position: absolute;
- top: 0;
- left: 0;
- margin-top: 48px;
- transition: margin-top 0.1s ease-in-out;
-}
-
-.mascots img {
- height: 48px;
- transition: transform 0.1s ease-in-out;
-}
-
-.trigger:hover .mascots {
- margin-top: 6px;
-}
-
-.trigger:hover .mascots img {
- transform: rotate(10deg);
-}
-
-.trigger:hover .mascots img:last-child {
- transform: rotate(-10deg);
-}
-
-.trigger:hover .mascots,
-.trigger:hover .mascots img {
- transition-delay: 1s;
-}
-
-@media (min-width: 768px) {
- .list-terse > dt {
- width: 120px;
- }
- .list-terse > dd {
- margin-left: 130px;
- }
-}
-
-.badge-codes-modal {
- width: 800px;
-}
-
-.snippet {
- white-space: pre-wrap;
- word-break: break-all;
- word-wrap: break-word;
-}
-
-.wrap-normal {
- white-space: normal;
-}
-
-.uk-badge {
- border: none;
- border-radius: 3px;
- text-shadow: 0 1px 0 rgba(0,0,0,.3);
-}
-
-.uk-badge-unknown {
- background: #898989;
-}
-
-.check-log {
- background: #3c3c3c;
- color: white;
- border-color: #2a2a2a;
- font-size: 13px;
- white-space: pre-wrap;
- word-break: break-all;
- word-wrap: break-word;
-}
-
-.check-log div {
- padding: 0 0 0 42px;
- margin: 0;
-}
-
-.check-log div:target {
- background: #4c4c4c;
-}
-
-.check-log a.lineno {
- display: inline-block;
- text-align: right;
- min-width: 42px; /* 4 digits */
- margin-left: -42px;
- text-decoration: none;
- color: #929292;
-}
-
-.check-log a.lineno::before {
- content: attr(data-line-number);
- padding-right: 10px;
-}
-
-.check-log a.filelink {
- color: inherit;
- text-decoration: underline;
-}
-
-.check-log a.collapser {
- margin-left: 8px;
- color: inherit;
- text-decoration: underline;
-}
-
-.check-log a.collapser::before {
- content: '[-]'
-}
-
-.check-log a.collapser.collapsed::before {
- content: '[+]'
-}
-
-.check-log .error {
- color: #f277a1;
-}
-
-.check-log .warning {
- color: #f1bf8e;
-}
-
-.check-log .task {
- color: #bb84b4;
-}
-
-.check-log .meta {
- color: #929292;
-}
-
-.check-log .failure {
- color: #f1bf8e;
-}
--- a/templates/base.html Sun Jul 30 13:25:20 2017 +0800
+++ b/templates/base.html Sun Jul 30 13:27:33 2017 +0800
@@ -8,7 +8,7 @@
{% block alternate %}{% end %}
<link rel="shortcut icon" href="/static/favicon-cat.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.4/css/uikit.almost-flat.min.css" integrity="sha384-48XAELI+4suEKjYIXCNBu24eiwixJZ07IZznit90wBrOErxxeIKkEs1pJuwTUD/m" crossorigin="anonymous">
- <link rel="stylesheet" href="/static/main.css">
+ <link rel="stylesheet" href="/static/candolint.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js" integrity="sha384-rY/jv8mMhqDabXSo+UCggqKtdmBfd3qC2/KvyTDNQ6PcUJXaxK1tMepoQda4g5vB" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.4/js/uikit.min.js" integrity="sha384-hCdhk/9fyX2pWbIR1e+NRVBfeaAcTR4cvdWM4MrgY+zOE1EqBuC0w3L7yGZKA7Ti" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js" integrity="sha384-MV8AwEgYXLMw5ZPj4763CSPk+tYGoUZGdwr/+EfkAZ1Dl2rGHxOMpQ1IW7VtyUPn" crossorigin="anonymous"></script>