From f609ab34fbabd071803c26b5c2610cea67c750de Mon Sep 17 00:00:00 2001 From: Arpit Jain Date: Mon, 18 Mar 2019 11:09:24 +0530 Subject: [PATCH] new button added --- assets/css/main.css | 36 ++++++++++++++++++++++++++++++++++++ assets/js/custom.js | 7 +++++++ index.html | 2 ++ 3 files changed, 45 insertions(+) create mode 100644 assets/js/custom.js diff --git a/assets/css/main.css b/assets/css/main.css index 604c020..e6a0dae 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -240,6 +240,42 @@ h2 { font-family: 'Gentium Book Basic' !important; } +button { + color: white; + border-radius: 7px; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); + background-color: #4CAF50; + /* Green */ + border: none; + color: white; + padding: 15px 32px; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 16px; + /* this is a green */ +} + +.gradient-button { + transition: 0.5s; + background-size: 200% auto; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); + transition: all 0.3s cubic-bezier(.25, .8, .25, 1); + cursor: pointer; +} + +.gradient-button:hover { + box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); +} + +.gradient-button { + background-image: linear-gradient(to right, #0ed2f7 0%, #0ed2f7 51%, #0ed2f7 100%) +} + +.gradient-button:hover { + background-position: right center; +} + h1 a, h2 a, h3 a, diff --git a/assets/js/custom.js b/assets/js/custom.js new file mode 100644 index 0000000..49832a2 --- /dev/null +++ b/assets/js/custom.js @@ -0,0 +1,7 @@ +var h = new Date().getHours(); +var date = new Date().getDate(); +console.log("none" + date); +if (date >= 22 && date <= 24) { + document.getElementById('live-update-btn').style.display = "none"; + console.log("none"); +} \ No newline at end of file diff --git a/index.html b/index.html index 3cc875a..95945ef 100644 --- a/index.html +++ b/index.html @@ -56,6 +56,7 @@

VinHack

A Hackathon by VinnovateIT |
22nd March - 23 March |
SITE - VIT Vellore

+ VinnovateIT Logo @@ -305,6 +306,7 @@

Fine Print Stationary

+