summaryrefslogtreecommitdiff
path: root/public/css/style.css
blob: 527937d9c4c1f72ea73f14791e9ab8bcfd9dfab3 (plain)
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
@font-face {
	font-family: "headingsFont";
	src: url(/fonts/alice-v20-latin-regular.woff);
}

@font-face {
	font-family: "bannerFont";
	src: url(/fonts/AgilScript.ttf);
}

@font-face {
	font-family: "quoteFont";
	src: url(/fonts/lacquer-v15-latin-regular.woff);
}

/* ------------------------------------------------ */

body{
	max-width: 900px;
	margin: auto;
	background-color: #E1D9D1;
	font-size: 1.1rem;
	text-align: center;
	font-family: sans-serif;
}
nav {
	margin-top: 10px;
	text-align: center;
}

nav a {
	padding: 15px;
	font-size: 22px;
	font-weight: bold;
	text-decoration: none;
    color: #71BC68;
}

footer{
	text-align: center;
}

/* Header */
.headerImage {
	margin-top: 25px;
    position: relative;
    background: url(/img/bg.jpg) no-repeat center;
    background-size: cover;
    height: 250px;
}

.imgContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.imgContainer h1 {
    margin: 0;
    font-size: 66px;
	font-family: "bannerFont";
}

.imgContainer h1 span {
    border: 6px solid white;
    padding: 6px 14px;
    display: inline-block;
}

/* container styles*/

.main h1,h2,h3,h4{
	font-family: "headingsFont";
}

.container{
	text-align: center;
}

.afterIntro{
	height: auto;
	display: flex;
}

/* Left */
.left{
	height: auto;
	width: 60%;
	border-right: 2px solid grey;
	maring: 30px;
}

.left section{
	display: flex;
	height: auto
}

.left .quote{
	font-size: .95rem;
	font-family: "quoteFont";
}


.left section .people, .writers{
	width: 50%;
}

.left h4,ul > li{
	padding-left: 10px;
	text-align: left !important;
}


/* Right */
.right{
	height: auto;
	width: 40%;
}

.right figure img{
	width: 100%;
}


/* Media Queries*/

@media screen and (max-width: 666px) {
	.afterIntro{
		display: inline;
		border: none;
	}

	.left{
		border-right: none;
	}

	.left, .right{
		width: auto;
		height: auto;
		margin-bottom: 10px;
	}

	.left section{
		display: inline;
	}

    .left section .people, .writers{
    	width: auto;
    }

    .left h4, ul > li{
    	text-align: center !important;
    }

	
	.left .quote{
        margin: 10px 30px;
	}

	nav a {
		padding: 5px;
		font-size: 20px;
	}

}