forked from Love2012052/JavaScript-Stopwatch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
87 lines (78 loc) · 1.44 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/* Variabes */
$orange: #ffa600;
$grey: #f3f3f3;
$white: #fff;
$base-color: $orange;
/* Mixin's */
@mixin transition {
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
@mixin corners($radius) {
-moz-border-radius: $radius;
-webkit-border-radius: $radius;
border-radius: $radius;
-khtml-border-radius: $radius;
}
body {
background: $base-color;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue",
Helvetica, Arial, "Lucida Grande", sans-serif;
height: 100%;
}
.wrapper {
width: 800px;
margin: 30px auto;
color: $white;
text-align: center;
}
h1,
h2,
h3 {
font-family: "Roboto", sans-serif;
font-weight: 100;
font-size: 2.6em;
text-transform: uppercase;
}
#seconds,
#tens {
font-size: 2em;
}
button {
@include corners(5px);
background: $base-color;
color: $white;
border: solid 1px $white;
text-decoration: none;
cursor: pointer;
font-size: 1.2em;
padding: 18px 10px;
width: 180px;
margin: 10px;
outline: none;
&:hover {
@include transition;
background: $white;
border: solid 1px $white;
color: $base-color;
}
}
#button-start{
background-color: green;
color: white;
font-size: 16px;
border: none;
}
#button-stop{
background-color: red;
color: white;
font-size: 16px;
border: none;
}
#button-reset{
background-color: black;
color: white;
font-size: 16px;
border: none;
}