docs: remove hasura con banner (#5213)

This commit is contained in:
surendran82 2020-06-26 13:59:41 +05:30 committed by GitHub
parent a8cc3605b9
commit 6c689992ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 151 deletions

View File

@ -214,94 +214,6 @@ p {
#mce-responses .success-message {
color: #1cd3c6 !important;
}
.bannerStripWrapper {
background-color: #3D1BB7;
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.4);
position: relative;
min-height: 56px;
max-height: 56px;
display: flex;
align-items: center;
}
.bannerStripWrapper .bannerInnerWrapper {
padding: 0 15px;
}
.bannerStripWrapper .displayFlex
{
display: flex;
align-items: center;
width: 100%;
}
.bannerStripWrapper .displayFlex a {
flex: 1;
text-decoration: none;
}
.bannerStripWrapper .bannerStripImg {
position: absolute;
right: 0;
top: 0;
}
.bannerStripWrapper .bannerStripImg img {
max-height: 56px;
opacity: .4;
}
.bannerStripWrapper .bannerStrip
{
padding: 8px 0px;
display: flex;
align-items: center;
position: relative;
z-index: 10;
}
.bannerStripWrapper .bannerStrip .announceIcon {
display: inline-flex;
}
.bannerStripWrapper .bannerStrip .announceIcon img {
margin-top: 4px;
margin-right: 16px;
width: 32px;
}
.bannerStripWrapper .displayFlex a:hover, .bannerStripWrapper .displayFlex a:focus {
text-decoration: none;
}
.bannerStripWrapper .closeBanner {
cursor: pointer;
text-align: right;
display: flex;
align-items: center;
justify-content: center;
z-index: 11;
margin-left: auto;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(61,27,183,.8);
}
.bannerStripWrapper .closeBanner img {
margin-right: 0;
}
.bannerStripWrapper .bannerStrip .bodyTextSmall
{
font-family: Poppins;
text-align: left;
padding-top: 0;
letter-spacing: normal;
font-weight: 600;
display: inline-block;
line-height: 17px;
color: #fff;
padding-bottom: 0;
padding-right: 10px;
}
.bannerStripWrapper .bannerStrip .bodyTextSmall .fontNormal {
font-weight: 400;
}
.bannerStripWrapper .bannerStrip .bodyTextSmall .mLeft15 {
margin-left: 15px;
}
.bannerStripWrapper .bannerStrip .bodyTextSmall .underLine {
text-decoration: underline;
}
.content_inner_wrapper {
width: 75% !important;
/* height: 100vh; */
@ -1121,21 +1033,6 @@ article ol ol {
}
}
@media (min-width: 768px) and (max-width: 1385px) {
.bannerStripWrapper {
/* padding-left: 4vw; */
}
.bannerStripWrapper .bannerStrip .bodyTextSmall {
line-height: 21px;
}
.bannerStripWrapper .bannerStripImg {
display: none;
}
.bannerStripWrapper .bannerStrip .displayFlex {
justify-content: flex-start;
}
.bannerStripWrapper .closeBanner {
right: 0;
}
#mc_embed_signup form {
padding-top: 10px !important;
}
@ -1152,27 +1049,6 @@ article ol ol {
}
/*** Mobile overrides ***/
@media (max-width: 767px) {
.bannerStripWrapper {
max-height: none;
padding: 0 0px;
}
.bannerStripWrapper .bannerStrip {
padding-left: 0px;
}
.bannerStripWrapper .bannerStrip .bodyTextSmall {
padding-left: 8px;
line-height: 120%;
font-size: 15px;
}
.bannerStripWrapper .bannerStripImg {
display: none;
}
.bannerStripWrapper .bannerStrip .bodyTextSmall {
padding-left: 0;
}
.bannerStripWrapper .bannerStrip .bodyTextSmall .mLeft15 {
margin-left: 5px;
}
#sidebar {
top: 170px;
height: calc(100% - 170px);
@ -1626,4 +1502,4 @@ article ol ol {
.tabbarContainerWrapper .tabbarTabActive span {
color: rgba(255, 255, 255, 1) !important;
border-bottom: 2px solid white !important;
}
}

View File

@ -29,32 +29,6 @@
<div id="custom-doc" class="{% block bodyclass %}{{ 'yui-t6' if not is_landing_page else '' }}{% endblock %}">
<div class="main_container_wrapper">
{% include 'pages/loading.html' %}
<div id="banner" class="bannerStripWrapper hide">
<div class='bannerInnerWrapper displayFlex'>
<a
href="https://hasura.io/events/hasura-con-2020/"
target="_blank"
rel="noreferrer noopener"
>
<div class="bannerStrip">
<div class="displayFlex noPadd">
<div class="announceIcon">
<img src="{{ pathto('_images/layout/hasura-con.svg', 1) }}" alt="Hasura con 2020"/>
</div>
<div class="bodyTextSmall">
Hasura Con: <span class='fontNormal'>Our free online conference on pushing the boundaries of GraphQL<span class='mLeft15'>·</span></span><span class='underLine mLeft15'>Register now</span>
</div>
</div>
</div>
</a>
<div id="banner-close" class="closeBanner">
<img src="{{ pathto('_images/layout/close.svg', 1) }}" alt="Close" />
</div>
</div>
<div class='bannerStripImg'>
<img src="{{ pathto('_images/layout/stripe.png', 1) }}" alt='stripe' />
</div>
</div>
<header
id="header"
class='blueBgColor boderBottom'