-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprojects.css
More file actions
195 lines (162 loc) · 3.38 KB
/
Copy pathprojects.css
File metadata and controls
195 lines (162 loc) · 3.38 KB
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
/* colour pallette: https://coolors.co/palette/03071e-370617-6a040f-9d0208-d00000-dc2f02-e85d04-f48c06-faa307-ffba08 */
:root {
--main-colour: #f6eee3 ;
--secondary-colour: #370617;
--accent-colour: #03071E;
--secondary-accent-colour: #6A040F;
}
/*Reset base template*/
* {
margin: 0;
padding: 0;
}
body {
color: var(--accent-colour);
background-color: var(--main-colour);
font-family: "calibri", "open sans", "helvetica neue";
}
h1 {
color: var(--secondary-colour);
font-size: 3em;
padding-bottom: 1vh;
}
h2 {
color: var(--secondary-colour);
font-size: 1.6em;
}
/*------Header ------*/
#header {
display: flex;
flex-direction: column;
align-items: left;
padding-top: 10vh;
padding-bottom: 1vh;
margin-left: 15vw;
width: 70vw;
}
#header > p {
font-family: "lucida console";
font-size: 1em;
}
/*media query --> welcome section for smaller screens*/
@media only screen and (max-width: 992px) {
#header {
width: 90vw;
margin-left: 5vw;
}
#header > p {
font-size: 1.1em;
}
}
/*media query --> header section for extra large screens*/
@media only screen and (min-width: 1200px) {
#header {
max-width: 50vw;
margin-left: 25vw;
}
}
/*------Main section------*/
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: left;
margin-left: 15vw;
margin-bottom: 15vh;
width: 70vw;
line-height: 1.5;
font-size: 1.5em;
}
details > ul {
list-style-position:inside;
margin-left: 1rem;
margin-top: 1rem;
}
P {
margin-top: 1rem;
}
#project_section {
display: flex;
justify-content: left;
flex-direction: column;
gap: 3rem;
width: 100%;
margin-top: 2rem;
}
.project_item {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.project_header {
display: flex;
justify-content: left;
flex-direction: row;
align-items: center;
gap: 1.5rem;
width: 100%;
}
.date {
font-family: "Lucida Console", "Courier New", monospace;
font-size: 0.8em;
opacity: 0.8;
}
.project_image {
text-align: left;
width: 250px;
height: auto;
border-radius: 2%;
box-shadow: 2px 2px 2px 0px var(--secondary-colour);
}
.project_details {
display: flex;
flex-direction: column;
gap: 1rem;
border-style: solid;
border-width: 0px 0px 1px 0px;
border-color: var(--secondary-colour);
padding-bottom: 1rem;
}
/*media query --> projects for smaller screens*/
@media only screen and (max-width: 992px) {
main {
width: 90vw;
margin-left: 5vw;
font-size: 1.1em;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
}
#project_section {
justify-content: center;
}
.project_item {
gap: 0;
}
.project_header {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.project_header_text {
text-align: center;
}
.project_details {
text-align: left;
}
}
/*media query --> main section for extra large screens*/
@media only screen and (min-width: 1200px) {
main {
width: 50vw;
margin-left: 25vw;
}
}