Skip to content

Commit

Permalink
fix background
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 committed Dec 1, 2018
1 parent 17bfa60 commit 8e180bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
/* https://cssminifier.com/ */
@import url('https://fonts.googleapis.com/css?family=Oxygen|Oxygen+Mono');

html {
background: #fff;
}

body {
background: -webkit-linear-gradient(right, #ececec, #fff, #ececec);
background: linear-gradient(-90deg, #ececec, #fff, #ececec);
Expand Down Expand Up @@ -96,7 +100,7 @@ section.border-clock {
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
box-shadow: 0 0 15px 0 rgba(0,0,0,0.5);
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
}

section.clock {
Expand All @@ -123,7 +127,7 @@ section.clock div.seconds {
transform: translate(-50%, -50%);
-webkit-transform-origin: 50% 0;
transform-origin: 50% 0;
box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

section.clock div.seconds::before,
Expand All @@ -137,7 +141,7 @@ section.clock div.hours::before {
transform-origin: 50% 0;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

section.clock div.seconds::before {
Expand Down
2 changes: 1 addition & 1 deletion style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8e180bc

Please sign in to comment.