generated from Newton-School/html-css-project-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
147 lines (123 loc) · 2.01 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed');
body {
font-family: 'Roboto Condensed', sans-serif;
margin: 0;
background:bisque;
height: auto;
}
h1 {
font-weight: 1000;
font-size: 2.5rem;
text-transform: uppercase;
margin: 0;
color:aqua;
}
h2 {
font-weight: 400;
font-size: 1.2rem;
text-transform: capitalize;
margin: 0;
}
img {
display: block;
width: 100%;
}
main {
max-width: 900px;
margin: auto;
}
#landing {
background:grey;
}
#landing-text {
display: flex;
flex: 0 1 40vw;
height: 50vh;
justify-content: center;
align-items: center;
text-align: center;
padding-right: 1rem;
padding-left: 1rem;
}
#landing-text h2 {
color:yellow;
margin-top:20px;
font-weight:600;
}
#landing-image {
background: url(images/cover.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
height: 50vh;
flex: 0 1 60vw;
margin: 0;
}
.btn {
padding: 0.5rem 2rem;
border: 1px #ccc solid;
display: inline-block;
margin: 2rem 0 0;
border-radius: 50px;
text-decoration: none;
color: #333;
background-color: aqua;
}
.btn:hover {
background:violet;
}
#header {
padding: 1.5rem;
text-align: center;
background: violet;
color: black;
}
#header h2 {
border-left: dotted 1px black;
border-right: dotted 1px black;
display: inline-block;
padding-right: 1rem;
padding-left: 1rem;
}
.caption {
padding: 0.8rem;
text-align: center;
background-color:yellow;
}
footer {
text-align: center;
padding: 2rem 1rem;
margin: auto;
color: #fff;
background-color:grey;
}
footer h3 {
font-size: 3rem;
margin-bottom: 0;
color:#fff;
}
footer p{
color:yellow;
}
footer strong{
color:aqua;
}
/* Screen Sizes 500px and Up */
@media (min-width: 500px) {
#landing {
display: flex;
height: 100%;
}
#landing-text {
height: 100vh;
}
#landing-image {
height: 100vh;
}
}
/* Screen Sizes 700px and Up */
@media (min-width: 700px) {
.btn {
padding: 1rem 3rem;
}
}