-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsolarcalc.css
146 lines (133 loc) · 2.94 KB
/
solarcalc.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
@charset "UTF-8";
/* CSS RESET BY MYE WEB */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
html {
-webkit-text-size-adjust: none; }
/*----------- apply a natural box layout model to all elements --------------*/
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
body {
font-family: 'Roboto', sans-serif;
font-weight: 300; /* loaded 300 and 700*/
}
header {
border-top: 40px solid #004b8e;
background-image: url(sun.png);
/*Sun from https://openclipart.org/detail/3367/decorative-sun*/
background-repeat: no-repeat;
}
header h1 {
color: #e05b13;
font-size: 3rem;
padding: .5rem 0 .5rem 60px;
}
header, nav, main, footer {max-width: 960px; margin: 0 auto;}
nav {background-color: #004b8e}
nav li {
float: left;
width: 25%;
}
nav li a {
color: #fff;
display: block;
text-decoration: none;
padding: .5rem 0;
width: 100%;
text-align: center;
border-right: 1px solid #000;
}
nav li.active a {background-color: #002751;}
main {padding: .3rem 2%; display: block;}
main h1 {
color: #e05b13;
font-size: 2rem;
padding-top: 1rem;
}
main h2 {
color: #e05b13;
font-size: 1.5rem;
padding-top: 1rem;
}
main p{
line-height: 125%;
padding-bottom: .25rem;
}
main fieldset {
border: 1px solid #ddd;
border-radius: 10px;
padding: .5rem 2%;
margin-top: 1rem;
}
main fieldset legend {color:#004b8e; font-weight: 700;}
main form label {
display: block;
padding: .4rem 0;
font-size: .75rem;
}
main form span {
display: block;
font-size: .7rem;
color: #004b8e;
}
main form input {
width: 6rem;
font-size: .95rem;
}
main form select {
width: 15rem;
}
main button {
width: 240px;
border: none;
padding: .8rem;
color: #fff;
font-size: 1rem;
border-radius: 10px;
margin-top: 1rem;
background: #004b8e;
background: linear-gradient(to bottom, #004b8e 1%,#002751 100%);
}
footer {
text-align: center;
background: #004b8e;
color: #fff;
font-size: .75rem;
padding: 1rem 0;
}
.keepOpen{clear: both;}
main figure img {width: 100%;}
@media only screen and (min-width: 30em) {
main figure {width:70%;float: right;}
}