Skip to content

Instantly share code, notes, and snippets.

@mixin themable($theme-name, $body-bg, $left-bg, $right-bg, $innertext, $button-bg, $text-color) {
.#{$theme-name} {
background-color: $body-bg;
color: $text-color;
.logo-clock {
padding-top: 50px;
.logo {
height: 200px;
padding-left: 10vh;
}
@XoTENoC
XoTENoC / style.scss
Last active December 22, 2019 13:47
@font-face {
font-family: 'Bro';
src: url('../Fonts/brandon-grotesque-regular-cufonfonts-webfont/brandon-grotesque-black-58a8a3e824392.woff') format('woff');
}
html {
margin: 0px;
padding: 0px;
font-family: Bro;
}
<div class="logo-clock">
<img src="./img/your-logo.svg" class="logo">
<div id="MyClockDisplay" class="clock" onload="showTime()"></div>
</div>
<div class="forecast">
<div class="day-forecast">
<div class="day-of-week" id="day-of-week-1">MONDAY</div>
<div class="weather" id="weather1"></div>
<div class="icon-space" id="icon1"></div>
</div>
</div>
<div class="head-title">
<div class="Location" id="location">
<p>SEMAPHORE PARK</p>
</div>
<div class="today-weather">
<div class="temperature"><span id="temp-main">28</span></div>
<div class="day">
<h1><span id="today">SUNDAY</span></h1>
<p id="dis">MOSTLY CLOUDY</p>
<p><spam id="rain-chance"></span>
@XoTENoC
XoTENoC / index.html
Last active December 22, 2019 11:40
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css">
<link rel="stylesheet" href="./css/style.css">
<title>Weather</title>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>