Skip to content

Instantly share code, notes, and snippets.

View apvarun's full-sized avatar
🏁
Racing through time

Varun A P apvarun

🏁
Racing through time
View GitHub Profile
@apvarun
apvarun / contact.md
Last active January 10, 2024 21:26
Contact form in Hugo website
title
Contact

Fill the form and I will get back to you soon!

// Contact form when using Netlify.com

@apvarun
apvarun / styler.css
Created September 25, 2016 15:51
mail style
#outlook a {padding:0;}
body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}
.ExternalClass {width:100%;}
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
#backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}
img {outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;}
a img {border:none;display:inline-block;}
.image_fix {display:block;}
h1, h2, h3, h4, h5, h6 {color: black !important;}
@apvarun
apvarun / .js
Created August 7, 2015 01:51
Browser and OS detection with Javascript (.js)
var captionEl=$("#caption");
var browser=$("#browser");
var system = navigator.appVersion;
if (navigator.appVersion.indexOf("Mac") != -1 ) OS = "Mac";
else if (navigator.appVersion.indexOf("PowerPC") != -1 ) OS = "Mac";
else if (navigator.appVersion.indexOf("Win") != -1 ) OS = "Win";
else if (navigator.appVersion.indexOf("SunOS") != -1 ) OS = "Solaris";
else OS = "Linux";
//Determine Browser Version
@apvarun
apvarun / .css
Created August 7, 2015 01:51
Browser and OS detection with Javascript (.css)
body
{
background-color: #000;
padding: 1%;
color: #ccc;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1em;
}
.console
@apvarun
apvarun / .html
Created August 7, 2015 01:45
Browser and OS detection with Javascript (.html)
<html>
<head>
<title>Detector</title>
<script type="text/javascript" src="jquery.js" ></script>
<link rel="stylesheet" type="text/css" href="main.css" />
<style>
p {
width: 100%;
height: 40%;
line-height: 100px;