Skip to content

Instantly share code, notes, and snippets.

View liviucerchez's full-sized avatar

Liviu Cerchez liviucerchez

View GitHub Profile
@liviucerchez
liviucerchez / webkit-scrollbar
Created December 1, 2014 09:57
Custom WebKit Scrollbars
@media (-webkit-min-device-pixel-ratio:0) {
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background-color: #fff; }
::-webkit-scrollbar-thumb:vertical { height: 100px; background-color: #000; }
}
@liviucerchez
liviucerchez / gist:0ec894b9394fea1453b4
Created April 24, 2015 18:11
Lightbox item with specific group
[grid number="4" class="featured-image"]<a href="big.jpg" class="lightbox wp-caption animate-in-view" data-fancybox-group="gallery-1"><img src="small.jpg></a>[/grid]
@liviucerchez
liviucerchez / custom-logo
Last active August 29, 2015 14:23
Custom Tosca logo
@liviucerchez
liviucerchez / ricca-footer
Created July 7, 2015 10:38
Ricca - Footer
<div id="gmap" style="position: absolute; left: 0; top: 0; width: 100%; height:100%;"></div>
<p>[raw]<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script><script>
jQuery(function() {
var map_name = 'custom_gmap',
loc = new google.maps.LatLng(40.796146, -73.960157), // set location
marker_pos = new google.maps.LatLng(40.796146, -73.960157), // set marker position
marker_title = 'tosca studio',
stylers = [{
"featureType": "all",
"elementType": "all",
@liviucerchez
liviucerchez / Custom Featured Code
Created November 19, 2015 03:27
Tosca - Contact Page - Custom Featured Code
@liviucerchez
liviucerchez / Styleguide
Created July 5, 2016 10:46
Styleguide page for the Peter theme
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<hr>
<h4>Buttons</h4>
<p class="no-bottom"><a href="#" class="button">Normal button</a> <a href="#" class="button grey">Grey button</a> <a href="#" class="button red">Red button</a> <a href="#" class="button yellow">Yellow button</a></p>
@liviucerchez
liviucerchez / Typography
Created July 7, 2016 12:07
RoyalGold - Typography Page
<p>Lorem ipsum dolor sit amet <em>quis fringilla</em> ligula aliquet consectetur adipiscing elit <strong>tristique odio</strong>, quis aliquet ut. Lorem ipsum dolor sit amet, consectetur <a href="#" class="tooltip" title="Tooltip example">tooltip</a> tristique ligula aliquet ut.</p>
<blockquote>Consectetur adipiscing elitorem ipsum dolor sit amet, consectetur adipiscing elit tristique odio. Integer tristique odio, quis fringilla ligula ut.</blockquote>
<div class="sep"><span></span></div>
<h1>H1 Heading Style</h1>
<h2>H2 Heading Style</h2>
<h3>H3 Heading Style</h3>
<h4>H4 Heading Style</h4>
<h5>H5 Heading Style</h5>
[sep]
<p><span class="dropcap">D</span>orem ipsum dolor sit amet, consec tetur elit modo tris ligula aliquet ut ipsum dolor sit amet cons ectetur elit.</p>
@liviucerchez
liviucerchez / Contact
Created July 7, 2016 12:10
RoyalGold - Contact Page
<a class="thumb no-bottom" href="https://maps.google.com/maps?q=Brooklyn%2BBridge&amp;hl=en&amp;ll=40.70797,-73.9991&amp;spn=0.018836,0.042272&amp;sll=40.714737,-73.975925&amp;sspn=0.075336,0.169086&amp;hq=Brooklyn%2BBridge&amp;t=m&amp;z=14"><span class="overlay"></span><img alt="" src="http://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&amp;zoom=13&amp;size=400x300&amp;scale=2&amp;maptype=roadmap&amp;sensor=false" /><span class="icon-link"></a>
[contact-form-7 id="341" title="Send Message"]
@liviucerchez
liviucerchez / Map for Contact Page
Last active January 18, 2018 19:08
Tosca - Contact Page Map
<div id="gmap" style="position: absolute; left: 0; top: 0; width: 100%; height:100%;"></div>
<p>[raw]<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&key=AIzaSyCdONh97qUX0nVx7qUScDyMHoGDMJteAHM"></script><script>
jQuery(function() {
var map_name = 'custom_gmap',
loc = new google.maps.LatLng(40.796146, -73.960157), // set location
marker_pos = new google.maps.LatLng(40.796146, -73.960157), // set marker position
marker_title = 'tosca studio',
stylers = [{
"featureType": "all",
"elementType": "all",