-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.min.css
18 lines (18 loc) · 1.85 KB
/
style.min.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
* parents: The timer projected for Parents’ Evenings in the main hall.
* <https://github.com/rgshw/parents/>
* Copyright (C) 2018 Matt Cowley (MattIPv4) ([email protected])
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, please see
* <https://github.com/rgshw/parents/blob/master/LICENSE> or <http://www.gnu.org/licenses/>.
**/
@import url(https://fonts.googleapis.com/css?family=Overpass+Mono);#cont,h4{width:100%;position:absolute}body,html{margin:0;padding:0;overflow:hidden;text-align:center;font-family:'Overpass Mono',monospace;font-size:42px;background:#fff}html.change,html.change body{animation:bgFlash .5s linear infinite alternate}html.change h1,html.change h2{animation:colorFlash .5s linear infinite alternate}html.change #logo{animation:logoFlash .5s linear infinite alternate}@keyframes bgFlash{0%,50%{background:#fff}100%,50.5%{background:#4165B3}}@keyframes colorFlash{0%,50%{color:#4165B3}100%,50.5%{color:#fff}}@keyframes logoFlash{0%,50%{filter:none}100%,50.5%{filter:grayscale(1) brightness(3)}}#cont{top:25%;transform:translateY(-25%)}h1,h2{color:#4165B3;margin-top:.6em!important}h2{font-size:.8em}h1,h2,h3,h4{margin:0;font-weight:200}#logo{height:35vH}h4{bottom:5px;font-size:.4em}h4 a{text-decoration:none;color:initial}h4 img{height:64px;vertical-align:middle}