-
Notifications
You must be signed in to change notification settings - Fork 1
/
renewable.css
180 lines (157 loc) · 3.6 KB
/
renewable.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
/* Reset CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global Styles */
body {
font-family: "Newsreader", serif;
font-optical-sizing: auto;
background-color: #f5f5f5;
}
/* Header Styles */
header {
background-color: #15523e;
height: 100vw; /*changes the height of header*/
width: auto;
color: #f1edeb;
padding: 2px 0; /*check this text is centered*/
border-style: solid;
border-color: yellow;
background-image: url("cowboy_grid.jpg"); /* Set the background image using the url() function */
background-attachment: fixed;
background-size: cover ; /* Set the background size to cover the entire element */
background-position: center ; /* Set the position property to relative */
background-repeat: no-repeat;
background-position-y: calc(7vw + 20px);
background-position-x: ;
}
/*container below header*/
.container {
max-width: 90%; /*container1 width and height*/
max-height: 40vh;
margin: 20 auto;
padding: 0 10px;
text-align: left; /*moves text container1*/
border:solid;
border-color: #000000;
}
.head{
position:relative;
font-family: "Oswald", sans-serif;
font-size: 5.5vw;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;
animation: fadeIn 5s;
}
header h1 {
font-size: 4.5vw;
text-align: left ;
padding: 8px;
margin: 0;
color: #f1edeb;
text-shadow: 2px 2px 4px #000000;
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
*header style*/
header h1 {
float:left;
font-size: 26px;
margin-right: auto;
padding: auto 0;
}
.nav{
justify-content: space-between;
align-items: center;
padding: 40px;
background-color: #333;
}
nav ul {
float:right;
list-style: none;
font-size: 3vh;
position:absolute;
top: 4vh; /* modifies the position of the the nav bar */
right:1vw;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav ul li a {
color: #B2d3c2;
text-decoration: none;
}
.container2{
padding: 90px;
font-family: "Newsreader", serif;
font-optical-sizing: auto;
font-weight: 450;
font-style: normal;
text-justify:inter-word ;
text-align: justify;
text-justify: auto;
}
.hero2 {
/*background-image: url('texas_landscape.jpg');*/
background-color: #15523e;
color: #f6f6f6;
border-style: solid;
border-color: yellow;
}
.whytexas{
background-color: #15523e;
text-align: center;
height: 50%; /*changes the height of header*/
width: auto;
color: #f1edeb;
padding: 50px;
border-style: solid;
border-color: yellow;
*/
}
.whytexas{
padding: 40px;
font-family: "Newsreader", serif;
font-optical-sizing: auto;
font-weight: 700;
font-size:5vh;
text-shadow: 2px 2px #FFFFFF;
}
.textconsumption{
padding: none;
font-family: "Newsreader", serif;
font-optical-sizing: auto;
font-weight: 400;
font-size:3vw;
font-style: normal;
text-shadow: none;
text-align: center;
text-justify: auto;
color: #f1edeb;
}
.txconsumptiontittle{
padding: none;
font-family: "Newsreader", serif;
font-optical-sizing: auto;
font-weight: 700;
font-size:7vh;
font-style: normal;
text-shadow: none;
color: rgb(222, 82, 31);
}
.source{
max-width: 100%; /*container1 width and height*/
max-height: 40vh;
margin: 20 auto;
padding: 0 10px;
text-align: left; /*moves text container1*/
border:solid;
border-color: #000000;
background-color: #15523e;
}