Skip to content

Instantly share code, notes, and snippets.

View gera3d's full-sized avatar

Gera Yeremin gera3d

View GitHub Profile
@gera3d
gera3d / Books
Created March 9, 2020 07:10
Books
<style type="text/css" media="screen">
.gr_grid_container {
/* customize grid container div here. eg: width: 500px; */
}
.gr_grid_book_container {
/* customize book cover container div here */
float: left;
width: 98px;
height: 160px;
@gera3d
gera3d / match.js
Last active December 7, 2019 23:56
Match Height
jQuery(function() {
// apply your matchHeight on DOM ready
// apply matchHeight to each item container's items
jQuery('.product_item_inner').each(function() {
jQuery(this).children('.product_item_excerpt').matchHeight({
byRow: true
});
});
});
@gera3d
gera3d / Custom_Main.css
Created October 10, 2019 23:16
Custom Wine Styles
New Styles
/**Custom styles for the king estate winery**/
body {
background-color: #f7f7f5 !important;
color: #8e6a02 !important;
}
.nav-tabs>li.active>a {
@gera3d
gera3d / custom.css
Created February 6, 2019 22:21
Add custom logo just to mobile
@media (max-width: 1025px) {
.wrap > .title-area.show > .site-title > a {
min-height: 50px;
width: 100%;
background: url(https://www.sandiegooralsurgery.com/wp-content/uploads/ALOS-Logos-Retna-Lft.png) no-repeat left top !important;
background-size: 150px 50px !important;
background-position: left center !important;
}
}
@gera3d
gera3d / gist:75992af176b45d4ef9fa2201baa98f5d
Created February 5, 2019 18:45
Homepage Button for the full video with play
<a class="button secondary_color" style="margin-top: 2.5rem; border-radius: 0px; font-size: 2.5rem; opacity: 0.8;" href="/academicadvantage">Academic Advantage</a>
@gera3d
gera3d / Banners.html
Last active January 31, 2019 21:52
Code for Banners
<div class="responsive_banner">
<!-- row 1 -->
<div></div>
<div>Parkersburg Office: Now Seeing Patients 4 Days out of the Week. </div>
<div></div>
<!-- row 3 -->
<div></div>
<div><a href="/contact-us-parkersburg-wv" class="responsive_button_link"><div class="responsive_button"">Learn More</div></a></div>
<div></div>
</div>
@gera3d
gera3d / buttons.html
Last active November 6, 2018 19:08
Button Code for Bell and NuvoExpress
<!--Simple White Buttons -->
<a href="/request-appointment"><button type="button" class="btn-md pri ">Patient Registration</button></a>
<!--Rounded White Buttons -->
<a href="/request-appointment"><button type="button" class="btn-xs btn-alt secondary_color">Request Appointment</button></a>
<!--Bell Buttons -->
<ul class="saved-buttons-list">
<li><a target="_blank" href="/registration/" class="saved-button-light saved-button-no-hover-line saved-button">Registration</a></li>
</ul>
@gera3d
gera3d / CTA_Block.php
Created October 23, 2018 18:30
Responsive CTA block from CBOMS
<div class="container cta cta-desktop-section text-light ">
<br class="spacer20">
<div class="row hidden-xs hidden-sm hidden-md">
<div class="col-lg-5 col-md-12 col-md-offset-0">
<h2 class="col-lg-12">Our Patients </h2>
<p class="col-lg-12">Save some time when you come in. Register for your appointment online.</p>
<ul class="saved-buttons-list">
<li class="col-md-6 col-sm-6"><a target="_blank" href="https://secureform.seamlessdocs.com/f/cbomsreg/" class="type3"><button type="button" class="btn-md pri ">Registration</button></a></li>
</ul>
</div>
@gera3d
gera3d / gist:ca86fade979757088bffe0e52ef2f02b
Last active August 16, 2018 21:11
Some Code for smile appeal NRA
<script>
function getScreenSize() {
// in pixels
if ( screen.width < 500 || screen.height < 500)
window.open('fb://profile/200219143348942')
}
</script>
<strong>Where would you like to review us?</strong>
<br><br>
Command: bash deploy.sh
Handling node.js deployment.
KuduSync.NET from: 'D:\home\site\repository' to: 'D:\home\site\wwwroot'
Copying file: 'scm-commit-id.json'
Using start-up script server.js from package.json.
Node.js versions available on the platform are: 0.6.20, 0.8.2, 0.8.19, 0.8.26, 0.8.27, 0.8.28, 0.10.5, 0.10.18, 0.10.21, 0.10.24, 0.10.26, 0.10.28, 0.10.29, 0.10.31, 0.10.32, 0.10.40, 0.12.0, 0.12.2, 0.12.3, 0.12.6, 4.0.0, 4.1.0, 4.1.2, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.3.0, 4.3.2, 4.4.0, 4.4.1, 4.4.6, 4.4.7, 4.5.0, 4.6.0, 4.6.1, 4.8.4, 5.0.0, 5.1.1, 5.3.0, 5.4.0, 5.5.0, 5.6.0, 5.7.0, 5.7.1, 5.8.0, 5.9.1, 6.0.0, 6.1.0, 6.2.2, 6.3.0, 6.5.0, 6.6.0, 6.7.0, 6.9.0, 6.9.1, 6.9.2, 6.9.4, 6.9.5, 6.10.0, 6.10.3, 6.11.1, 6.11.2, 6.11.5, 6.12.2, 6.12.3, 7.0.0, 7.1.0, 7.2.0, 7.3.0, 7.4.0, 7.5.0, 7.6.0, 7.7.0, 7.7.4, 7.10.0, 7.10.1, 8.0.0, 8.1.4, 8.4.0, 8.5.0, 8.7.0, 8.8.0, 8.8.1, 8.9.0, 8.9.3, 8.9.4, 8.10.0, 8.11.1, 10.0.0, 10.6.0.
Selected node.js version 8.9.4. Use package.json file to choose a different version.
Se