/
styles.css
122 lines (109 loc) · 2.59 KB
/
styles.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@import url("https://fonts.googleapis.com/css?family=Orbitron");
body {
background: #333333;
color: ghostwhite; }
h1 {
font-family: 'Orbitron', sans-serif;
color: #83D0F2;
text-align: center;
margin-top: 1em;
margin-bottom: 1em;
font-size: 3em;
font-weight: lighter; }
#container {
width: 100%;
text-align: center; }
span {
text-transform: uppercase; }
#circle {
height: 20em;
width: 25%;
margin-left: auto;
margin-right: auto;
margin-top: 1em;
margin-bottom: 1em;
border-radius: 50%;
background: #333333;
border: 1px solid #83D0F2;
text-align: center;
position: relative;
overflow: hidden; }
#circle h3 {
margin-top: 5em;
margin-left: 2.5em;
position: absolute;
vertical-align: middle; }
#circle #clock {
position: absolute;
margin-top: 140px;
margin-left: -70px;
font-size: 3em; }
#break {
height: 5em;
width: 10em;
display: inline-block; }
#session {
height: 5em;
width: 10em;
display: inline-block; }
.timerContents {
font-size: 2em;
padding-top: .3em; }
.timerContents span {
margin-right: .2em; }
#buttons {
width: 40%;
text-align: center;
margin-left: auto;
margin-right: auto;
margin-top: 2em;
margin-bottom: 1em;
padding: 1em; }
#buttons :nth-child(1), #buttons :nth-child(2), #buttons :nth-child(3) {
font-size: 1em;
margin-right: 1.2em;
margin-left: 1.2em;
border: 2px solid #83D0F2;
background-color: #333333;
color: ghostwhite;
width: 5em;
height: 2em;
text-transform: uppercase; }
#buttons :hover {
background-color: ghostwhite;
color: #333333; }
/************ Media Queries ***********************************************/
/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
#circle {
width: 100%; }
#buttons {
margin-top: .5em; }
#buttons :nth-child(1), #buttons :nth-child(2), #buttons :nth-child(3) {
margin-bottom: 1.5em; }
#break, #session {
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 1em; } }
/* Extra Small Devices, Phones */
@media only screen and (min-width: 350px) {
#circle {
width: 90%; } }
@media only screen and (min-width: 400px) {
#circle {
width: 80%; } }
/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
#circle {
width: 35%; }
#break, #session {
display: inline-block;
margin-right: 2em;
margin-left: 2em; } }
/* Medium Devices, Desktops */
/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
#circle {
width: 25%; } }
/*# sourceMappingURL=styles.css.map */