forked from Technigo/project-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (72 loc) · 1.79 KB
/
style.css
File metadata and controls
86 lines (72 loc) · 1.79 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
body {
text-align: center;
background-color: #EEEEEE;
}
article {
border: solid 3px #929AAB;
margin-top: 50px;
padding: 20px;
display: flex;
}
img {
width: 184px;
height: 273px;
}
.card-content {
display: flex;
flex-direction: column;
justify-content: center;
flex: 1;
margin-left: 50px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
h1 {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-weight: bold;
text-transform: uppercase;
color: #white;
margin-bottom: 150%;
}
h2 {
font-family: Arial, Helvetica, sans-serif;
}
button {
cursor: pointer;
margin: 5px;
background-color: #393E46;
color: white;
border: solid 2px #929AAB;
border-radius: 30px
}
button:hover {
background-color: #929AAB;
}
.filter {
margin-bottom: 20px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.sort {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.hero {
background-image: url(https://media.istockphoto.com/id/1522056968/photo/happy-girls-watching-a-surprising-movie-in-theatre.webp?a=1&b=1&s=612x612&w=0&k=20&c=vuqdVzunFwJDj13oWRmynZ45j-zDgZyM8BaemwUzxDE=);
background-size: cover;
background-position: center;
height: 350px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: white;
}
@media (min-width:900px) {
h1 {
position: absolute;
top: 10px;
/* Adjusts the distance from the top of the page */
left: 10px;
/* Adjusts the distance from the left side of the page */
margin: 25px;
/* Removes default margin for more precise positioning */
}
}