Skip to content

Commit 9cd9bd1

Browse files
committed
Import style for godoc.org
1 parent d7fb41b commit 9cd9bd1

File tree

2 files changed

+177
-1
lines changed

2 files changed

+177
-1
lines changed

godoc.org/common.user.css

+166-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,169 @@
88
@supportURL https://github.com/1nfdev/common.css/issues
99
@updateURL https://raw.githubusercontent.com/1nfdev/common.css/master/godoc.org/common.user.css
1010
@license AGPL
11-
==/UserStyle== */
11+
==/UserStyle== */
12+
13+
@-moz-document domain("godoc.org") {
14+
15+
a {
16+
text-decoration: none;
17+
color: blue;
18+
background: none;
19+
}
20+
21+
a:not([href]) {
22+
cursor: pointer
23+
}
24+
25+
a:visited {
26+
color: #6D50FA
27+
}
28+
29+
a:active {
30+
color: #faa700 !important
31+
}
32+
33+
a.new {
34+
color: #d33 !important
35+
}
36+
37+
a.new:visited {
38+
color: #d33050 !important
39+
}
40+
41+
a:hover {
42+
color: #00a000 !important;
43+
text-decoration: underline;
44+
}
45+
46+
hr {
47+
background-color: #fff;
48+
}
49+
50+
table,
51+
ol,
52+
dl,
53+
ul,
54+
h3,
55+
h4,
56+
h5,
57+
h6 {
58+
font-family: sans-serif
59+
}
60+
61+
h1 {
62+
padding-top: 0;
63+
font-size: 16pt;
64+
text-align: left;
65+
}
66+
67+
h1, h2, h3, h4, h5, h6 {
68+
color: black;
69+
border-bottom: 1px solid #000;
70+
padding: 3px;
71+
}
72+
73+
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
74+
border-top: 1px solid #000;
75+
}
76+
77+
.table > thead > tr > th {
78+
border-bottom: 2px solid #000;
79+
}
80+
81+
.navbar-default, #x-footer {
82+
background-color: #ddd;
83+
border: none;
84+
}
85+
86+
body {
87+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
88+
color: #000;
89+
}
90+
91+
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
92+
background-color: #ccc;
93+
}
94+
95+
.container .jumbotron, .container-fluid .jumbotron {
96+
border-radius: 3px;
97+
}
98+
99+
.banner {
100+
background-color: #FFE680;
101+
}
102+
103+
.navbar-blm {
104+
display: none;
105+
}
106+
107+
.form-control {
108+
-webkit-appearance: none;
109+
border-width: 1px 0 1px 1px;
110+
border-radius: 2px 0 0 2px;
111+
padding: 8px 96px 8px 12px;
112+
padding: .8rem 9.6rem .8rem 1.2rem;
113+
font-size: 16px;
114+
font-size: 1.6rem;
115+
line-height: 1.6;
116+
transition: background .1s ease,border-color .1s ease,box-shadow .1s ease;
117+
}
118+
119+
.form-control:focus {
120+
border-color: #36c;
121+
box-shadow: inset 0 0 0 1px #36c;
122+
outline: 0;
123+
}
124+
125+
.input-group-btn > .btn {
126+
margin: 0;
127+
border-radius: 0 2px 2px 0;
128+
z-index: 2;
129+
}
130+
131+
.btn-default {
132+
background-color: #36c;
133+
border-color: #36c;
134+
color: #fff;
135+
font-weight: bold;
136+
}
137+
138+
.btn-default:hover {
139+
background-color: #00a000;
140+
border-color: #00a000;
141+
color: #fff;
142+
font-weight: bold;
143+
}
144+
145+
.navbar-nav > li > a:hover {
146+
background-color: #00a000 !important;
147+
color: #fff !important;
148+
}
149+
150+
.highlighted {
151+
background-color: #ffd700;
152+
}
153+
154+
pre,
155+
code {
156+
font-family: monospace;
157+
}
158+
159+
pre {
160+
color: #ccc !important;
161+
background-color: #1e1e1e !important;
162+
border: 5px solid #1e1e1e !important;
163+
border-radius: 2px;
164+
padding: 1px 4px;
165+
}
166+
167+
pre a {
168+
color: #68f
169+
}
170+
171+
pre .com {
172+
color: #ff9700;
173+
font-style: italic;
174+
}
175+
176+
}

hndex/common.user.css

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* ==UserStyle==
2+
@name hndex.org-common.css
3+
@version 1.0.0
4+
@description ❤️ Minimal aestheic with highly refined color palettes
5+
@namespace 1nfdev
6+
@author 1nfdev <[email protected]>
7+
@homepageURL https://github.com/1nfdev/common.css
8+
@supportURL https://github.com/1nfdev/common.css/issues
9+
@updateURL https://raw.githubusercontent.com/1nfdev/common.css/master/hndex/common.user.css
10+
@license AGPL
11+
==/UserStyle== */

0 commit comments

Comments
 (0)