22 margin-top : 20px ;
33}
44
5+ @font-face {
6+ font-family : 'Glyphicons Halflings' ;
7+ src : url (static/webfrontend/fonts/glyphicons-halflings-regular.eot);
8+ src : url (static/webfrontend/fonts/glyphicons-halflings-regular.eot?#iefix) format ('embedded-opentype' ), url (static/webfrontend/fonts/glyphicons-halflings-regular.woff) format ('woff' ), url (static/webfrontend/fonts/glyphicons-halflings-regular.ttf) format ('truetype' ), url (static/webfrontend/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format ('svg' )
9+ }
10+
11+
512.highlight .hll { background-color : # ffffcc }
613.highlight .c { color : # 999988 ; font-style : italic } /* Comment */
714.highlight .err { color : # a61717 ; background-color : # e3d2d2 } /* Error */
6269.highlight .vc { color : # 008080 } /* Name.Variable.Class */
6370.highlight .vg { color : # 008080 } /* Name.Variable.Global */
6471.highlight .vi { color : # 008080 } /* Name.Variable.Instance */
65- .highlight .il { color : # 009999 } /* Literal.Number.Integer.Long */
72+ .highlight .il { color : # 009999 } /* Literal.Number.Integer.Long */
73+
74+
75+ .btn-getting-started {
76+ margin-top : 30px ;
77+ }
78+
79+ /* Prevent long code from wrapping, scroll instead */
80+ code [data-lang ] {
81+ white-space : pre;
82+ }
83+
84+ main .doc .highlight pre {
85+ overflow-x : auto;
86+ word-wrap : normal;
87+ }
88+
89+ /* We need to push the content because of the fixed header */
90+ body {
91+ padding-top : 80px ;
92+ }
93+ /* Allow anchors to not be hidden by the fixed header */
94+ h1 : target : before ,
95+ h2 : target : before ,
96+ h3 : target : before ,
97+ h4 : target : before ,
98+ h5 : target : before ,
99+ h6 : target : before {
100+ content : "" ;
101+ display : block;
102+ margin-top : -80px ;
103+ height : 80px ;
104+ width : 1px ;
105+ }
106+
107+ /* icon margins for rules page */
108+ .glyphicon {
109+ margin : 0 2px ;
110+ }
111+
112+ td .glyphicon {
113+ margin : 0 ; /* within table in rules page */
114+ }
115+
116+ th ,
117+ td {
118+ padding-left : 0.5em ;
119+ min-width : 1em ; /* width of glyphicon for a column of empty cells */
120+ }
121+
122+ th : first-child ,
123+ td : first-child {
124+ padding-left : 0 ;
125+ }
126+
127+ tr {
128+ vertical-align : baseline;
129+ }
130+
131+ p .incorrect + div + div + div > pre , /* vars-on-top */
132+ p .incorrect + div + div > pre , /* no-continue */
133+ p .incorrect + div > pre {
134+ background-color : # fff6f6 ; /* light red hsl(0,100%,98%) */
135+ }
136+
137+ p .correct + div + div + div > pre , /* vars-on-top */
138+ p .correct + div + div > pre , /* no-continue */
139+ p .correct + div > pre {
140+ background-color : # f6fff6 ; /* light green hsl(120,100%,98%) */
141+ }
142+
143+ p .icon : before {
144+ font-family : "Glyphicons Halflings" ;
145+ color : # 4d4d4d ; /* gray hsl(0,0%,30%) */
146+ margin-right : 0.5em ;
147+ }
148+
149+ p .recommended : before {
150+ content : "\e013" ; /* ok */
151+ }
152+
153+ p .removed : before {
154+ content : "\e014" ; /* remove */
155+ }
156+
157+ p .fixable : before {
158+ content : "\e136" ; /* wrench */
159+ }
160+
161+ p .incorrect : before {
162+ content : "\e126" ; /* thumbs-down */
163+ }
164+
165+ p .correct : before {
166+ content : "\e125" ; /* thumbs-up */
167+ }
168+
169+ @media (min-width : 768px ) {
170+
171+ p .icon : before {
172+ /*position: absolute;*/
173+ /*left: -20px;*/
174+ }
175+
176+ p .icon {
177+ position : relative;
178+ }
179+
180+ }
181+
182+ @media (max-width : 767px ) {
183+
184+ code {
185+ white-space : normal;
186+ }
187+
188+ }
0 commit comments