~sircmpwn/builds.sr.ht

builds.sr.ht/scss/main.scss -rw-r--r-- 3.5 KiB
5054bcbbHaowen Liu crontab: remove hirsute 13 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
@import "base";

.status {
  &.text-success, &.text-danger, &.text-primary {
    font-weight: bold;
  }
}

.status-lg {
  font-size: 1.5rem;
}

.text-black {
  color: black !important;
}

.status-text {
  &.text-primary {
    font-weight: bold;
  }
}

a[href^="mailto:"] {
  &:before {
    content: "<";
  }

  &:after {
    content: ">";
  }
}

.table-sm tbody {
  td {
    border-top: none;
    border-left: none;
    border-right: none;
  }
}

.table-code {
  display: block;
  width: 100%;
  overflow-x: scroll;
  padding-top: 0.5rem;
  margin-bottom: 1rem;

  background-color: #333;
  @include anchor_with_contrast(#333);

  @media(prefers-color-scheme: dark) {
    background-color: darken($gray-900, 10);
    @include anchor_with_contrast(darken($gray-900, 10));
  }

  pre {
    background: transparent;
    color: white;
  }

  td:first-child {
    vertical-align: top;
    margin: 0;
    padding: 0 0.5rem;
    text-align: right;
    border-right: 1px solid #888;

    a {
      display: inline-block;
      width: 100%;
      color: #aaa;
      margin: 0;
      padding: 0;
    }
  }

  td:last-child {
    vertical-align: top;
    padding: 0 1rem;
    margin: 0;
  }
}

.sidebar h3 {
  margin-top: 1rem;
}

#editor {
  font-family: monospace;
}

.to-top {
  position: -webkit-sticky; /* for safari */
  position: sticky;
  top: 0;
}

@media(prefers-color-scheme: dark) {
  .cm-s-default.CodeMirror { background: #272822; color: #f8f8f2; }
  .cm-s-default div.CodeMirror-selected { background: #49483E; }
  .cm-s-default .CodeMirror-line::selection, .cm-s-default .CodeMirror-line > span::selection, .cm-s-default .CodeMirror-line > span > span::selection { background: rgba(73, 72, 62, .99); }
  .cm-s-default .CodeMirror-line::-moz-selection, .cm-s-default .CodeMirror-line > span::-moz-selection, .cm-s-default .CodeMirror-line > span > span::-moz-selection { background: rgba(73, 72, 62, .99); }
  .cm-s-default .CodeMirror-gutters { background: #272822; border-right: 0px; }
  .cm-s-default .CodeMirror-guttermarker { color: white; }
  .cm-s-default .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
  .cm-s-default .CodeMirror-linenumber { color: #d0d0d0; }
  .cm-s-default .CodeMirror-cursor { border-left: 1px solid #f8f8f0; }

  .cm-s-default span.cm-comment { color: #75715e; }
  .cm-s-default span.cm-atom { color: #ae81ff; }
  .cm-s-default span.cm-number { color: #ae81ff; }

  .cm-s-default span.cm-comment.cm-attribute { color: #97b757; }
  .cm-s-default span.cm-comment.cm-def { color: #bc9262; }
  .cm-s-default span.cm-comment.cm-tag { color: #bc6283; }
  .cm-s-default span.cm-comment.cm-type { color: #5998a6; }

  .cm-s-default span.cm-property, .cm-s-default span.cm-attribute { color: #a6e22e; }
  .cm-s-default span.cm-keyword { color: #f92672; }
  .cm-s-default span.cm-builtin { color: #66d9ef; }
  .cm-s-default span.cm-string { color: #e6db74; }

  .cm-s-default span.cm-variable { color: #f8f8f2; }
  .cm-s-default span.cm-variable-2 { color: #9effff; }
  .cm-s-default span.cm-variable-3, .cm-s-default span.cm-type { color: #66d9ef; }
  .cm-s-default span.cm-def { color: #fd971f; }
  .cm-s-default span.cm-bracket { color: #f8f8f2; }
  .cm-s-default span.cm-tag { color: #f92672; }
  .cm-s-default span.cm-header { color: #ae81ff; }
  .cm-s-default span.cm-link { color: #ae81ff; }
  .cm-s-default span.cm-error { background: #f92672; color: #f8f8f0; }

  .cm-s-default .CodeMirror-activeline-background { background: #373831; }
  .cm-s-default .CodeMirror-matchingbracket {
    text-decoration: underline;
    color: white !important;
  }
}