Skip to content

Commit 6776e0c

Browse files
authored
Merge pull request matplotlib#12182 from marcelm/fix-fouc
DOC: Fix Flash of Unstyled Content by removing remaining Flipcause integration
2 parents b248b58 + d9950c2 commit 6776e0c

File tree

1 file changed

+1
-102
lines changed

1 file changed

+1
-102
lines changed

doc/_templates/layout.html

+1-102
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ <h3>{{ _('Navigation') }}</h3>
238238
{%- endif %}
239239
{%- if show_sphinx %}
240240
{% trans sphinx_version=sphinx_version|e %}Created using
241-
<ahref="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
241+
<a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
242242
{%- endif %}
243243
{%- if sha %}
244244
Doc version {{ sha }}.
@@ -258,106 +258,5 @@ <h3>{{ _('Navigation') }}</h3>
258258
</script>
259259
</body>
260260
<footer>
261-
<!--Flipcause Integration v3.0// Flipcause Integration Instructions:
262-
Install the following code block once in the website Header (after <head> tag) -->
263-
264-
<style>
265-
266-
.fc-black_overlay{
267-
display:none; position: fixed; z-index:1000001; top: 0%;left: 0%;width: 100%;height: 100%;
268-
background-color: black; filter: alpha(opacity=50); cursor:pointer; opacity:0.5;
269-
}
270-
271-
.fc-white_content {
272-
opacity:1; display:none; margin-top: -320px; margin-left: -485px; width:970px; height:640px;
273-
position:fixed; top:50%; left:50%; border: none;z-index:1000002;overflow: auto;
274-
}
275-
276-
.fc-main-box{
277-
opacity:1; display:none; margin:15px auto 0 auto; width:930px; position:relative; z-index:1000003;
278-
}
279-
280-
.fc-widget_close{
281-
opacity:1; content:url(http://i1338.photobucket.com/albums/o691/WeCause/X_zpse4a7e538.png);
282-
position:absolute; z-index=1000004; right:-16px; top:-16px; display:block; cursor:pointer;
283-
}
284-
285-
.floating_button{
286-
display: block; margin-top: 0px; margin-left: 0px; width:auto ; height: auto;
287-
position:fixed; z-index:999999; overflow: auto;
288-
}
289-
290-
@keyframes backfadesin {
291-
from { opacity:0; }
292-
to {opacity:.5;}
293-
}
294-
295-
@-moz-keyframes backfadesin {
296-
from { opacity:0; }
297-
to {opacity:.5;}
298-
}
299-
300-
@-webkit-keyframes backfadesin {
301-
from { opacity:0; }
302-
to {opacity:.5;}
303-
}
304-
305-
@-o-keyframes backfadesin {
306-
from { opacity:0; }
307-
to {opacity:.5;}
308-
}
309-
310-
311-
@-ms-keyframes backfadesin {
312-
from { opacity:0; }
313-
to {opacity:.5;}
314-
}
315-
316-
@keyframes fadesin {
317-
0%{ opacity:0; }
318-
50%{ opacity:0; }
319-
75% {opacity: 0; transform: translateY(20px);}
320-
100% {opacity: 1; transform: translateY(0);}
321-
}
322-
323-
@-moz-keyframes fadesin {
324-
0%{ opacity:0; }
325-
50%{ opacity:0; }
326-
75% {opacity: 0; -moz-transform: translateY(20px);}
327-
100% {opacity: 1; -moz-transform: translateY(0);}
328-
}
329-
330-
@-webkit-keyframes fadesin {
331-
0%{ opacity:0; }
332-
50%{ opacity:0; }
333-
75% {opacity: 0; -webkit-transform: translateY(20px);}
334-
100% {opacity: 1; -webkit-transform: translateY(0);}
335-
}
336-
337-
@-o-keyframes fadesin {
338-
0%{ opacity:0; }
339-
50%{ opacity:0; }
340-
75% {opacity: 0; -o-transform: translateY(20px);}
341-
100% {opacity: 1; -o-transform: translateY(0);}
342-
}
343-
344-
@-ms-keyframes fadesin {
345-
0%{ opacity:0; }
346-
50%{ opacity:0; }
347-
75% {opacity: 0; -ms-transform: translateY(20px);}
348-
100% {opacity: 1; -ms-transform: translateY(0);}
349-
}
350-
351-
</style>
352-
353-
<div id="fc-fade" class="fc-black_overlay" onclick="close_window()"></div>
354-
<div id="fc-light" class="fc-white_content">
355-
<div id="fc-main" class="fc-main-box">
356-
<div id="fc-close" class="fc-widget_close" onclick="close_window()">
357-
</div><iframe id="fc-myFrame" iframe height="580" width="925" style="border: 0;
358-
border-radius:5px 5px 5px 5px; box-shadow:0 0 8px rgba(0, 0, 0, 0.5);" scrolling="no" src=""></iframe></div>
359-
</div>
360-
361-
<!--END Flipcause Main Integration Code-->
362261
</footer>
363262
</html>

0 commit comments

Comments
 (0)