summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-05-09 01:45:33 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-06-09 21:20:25 +0100
commit929032656ffb95afe6163d62bb125155efa3a307 (patch)
tree955643b46b483f36def4f7c09b9bc233ffcd096d
parentSwitch to IceTray Cubes and Mails (diff)
downloadgentoobrowse-api-929032656ffb95afe6163d62bb125155efa3a307.tar.bz2
gentoobrowse-api-929032656ffb95afe6163d62bb125155efa3a307.tar.xz
gentoobrowse-api-929032656ffb95afe6163d62bb125155efa3a307.zip
Remove references to website assets
JS link not required, embed required CSS
-rw-r--r--gentoobrowse-api/service/notifications/xslt/base.xslt53
1 files changed, 51 insertions, 2 deletions
diff --git a/gentoobrowse-api/service/notifications/xslt/base.xslt b/gentoobrowse-api/service/notifications/xslt/base.xslt
index 65f4e20..b78e643 100644
--- a/gentoobrowse-api/service/notifications/xslt/base.xslt
+++ b/gentoobrowse-api/service/notifications/xslt/base.xslt
@@ -10,7 +10,57 @@
<meta charset="utf-8" />
<link href="{$tbscdn}/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<link href="{$tbscdn}/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen" />
- <link href="https://gentoobrowse.randomdan.homeip.net/css/general.css" rel="stylesheet" media="screen" />
+ <style media="screen">
+body{position:relative;padding-top:40px}
+body>.navbar{font-size:13px}
+body>.navbar .brand{padding-right:0;padding-left:0;margin-left:20px;float:right;font-weight:bold;color:#000;text-shadow:0 1px 0 rgba(255,255,255,.1),0 0 30px rgba(255,255,255,.125);-webkit-transition:all .2s linear;-moz-transition:all .2s linear;transition:all .2s linear}
+body>.navbar .brand:hover{text-decoration:none;text-shadow:0 1px 0 rgba(255,255,255,.1),0 0 30px rgba(255,255,255,.4)}
+section>.page-header{color:#5a5a5a}
+.jumbotron{position:relative;padding:25px 0;color:#fff;text-align:center;text-shadow:0 1px 3px rgba(0,0,0,.4),0 0 30px rgba(0,0,0,.075);background:#020031;background:-moz-linear-gradient(45deg,#020031 0,#6d3353 100%);background:-webkit-gradient(linear,left bottom,right top,color-stop(0,#020031),color-stop(100%,#6d3353));background:-webkit-linear-gradient(45deg,#020031 0,#6d3353 100%);background:-o-linear-gradient(45deg,#020031 0,#6d3353 100%);background:-ms-linear-gradient(45deg,#020031 0,#6d3353 100%);background:linear-gradient(45deg,#020031 0,#6d3353 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#020031',endColorstr='#6d3353',GradientType=1);-webkit-box-shadow:inset 0 3px 7px rgba(0,0,0,.2),inset 0 -3px 7px rgba(0,0,0,.2);-moz-box-shadow:inset 0 3px 7px rgba(0,0,0,.2),inset 0 -3px 7px rgba(0,0,0,.2);box-shadow:inset 0 3px 7px rgba(0,0,0,.2),inset 0 -3px 7px rgba(0,0,0,.2)}
+.jumbotron h1{font-size:80px;font-weight:bold;letter-spacing:-1px;line-height:1}
+.jumbotron .container{position:relative;z-index:2}
+.jumbotron:after{content:'';display:block;position:absolute;top:0;right:0;bottom:0;left:0;opacity:.4}
+@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1){
+.jumbotron:after{background-size:150px 150px}
+}
+.subhead{text-align:left;border-bottom:1px solid #ddd}
+.subhead h1{font-size:50px}
+.footer{text-align:center;padding:30px 0;margin-top:70px;border-top:1px solid #e5e5e5;background-color:#f5f5f5}
+.footer p{margin-bottom:0;color:#777}
+.footer-links{margin:10px 0}
+.footer-links li{display:inline;padding:0 2px}
+.footer-links li:first-child{padding-left:0}
+.bs-docs-sidenav{width:208px;margin:20px 0 0;padding:0;background-color:#fff;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,.065);box-shadow:0 1px 4px rgba(0,0,0,.065)}
+.bs-docs-sidenav>li>a{display:block;width:190px \9;margin:0 0 -1px;padding:4px 10px;border:1px solid #e5e5e5}
+.bs-docs-sidenav>li:first-child>a{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}
+.bs-docs-sidenav>li:last-child>a{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}
+.bs-docs-sidenav i{float:right;margin-top:2px;margin-right:-6px;opacity:.25}
+.bs-docs-sidenav>li>a:hover{background-color:#f5f5f5}
+.bs-docs-sidenav a:hover i{opacity:.5}
+@media (min-width:1200px){
+.bs-docs-sidenav{width:258px}
+.bs-docs-sidenav>li>a{width:230px \9}
+}
+@media (max-width:980px){body>.navbar-fixed-top .brand{float:left;margin-left:0;padding-left:10px;padding-right:10px}
+.bs-docs-sidenav{top:0;width:218px;margin-top:30px;margin-right:0}
+}
+@media (min-width:768px) and (max-width:979px){body{padding-top:0}
+.jumbotron{margin-top:-20px}
+.bs-docs-sidenav{width:166px;margin-top:20px}
+}
+@media (max-width:767px){body{padding-top:0}
+.jumbotron{padding:40px 20px;margin-top:-20px;margin-right:-20px;margin-left:-20px}
+.bs-docs-sidenav{width:auto;margin-bottom:20px}
+.footer{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}
+.footer p{margin-bottom:9px}
+}
+@media (max-width:480px){body{padding-top:0}
+.jumbotron h1{font-size:45px}
+.subhead h1{text-align:center}
+.footer{padding-top:20px;padding-bottom:20px}
+}
+a{cursor:pointer}
+ </style>
<title><xsl:call-template name="title" /></title>
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar">
@@ -70,7 +120,6 @@
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
<script src="{$tbscdn}/js/bootstrap.min.js"></script>
- <script src="https://gentoobrowse.randomdan.homeip.net/js/js.js"></script>
</body>
</html>
</xsl:template>