-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
130 lines (125 loc) · 2.33 KB
/
style.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
/* ------------
font
------------ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
body{
font-family: 'Poppins', sans-serif;
}
p{
font-family: 'Poppins', sans-serif;
}
/*---------------
Header Background
----------------*/
.part-one{
display: flex;
background-color: blue;
color: white;
margin-bottom: 20px;
}
.text {
font-size: 64px;
padding-top: 10px;
padding-left: 20px;
}
/* yellow hover background in header image */
.part-one:hover{
background-color: yellow;
color: rgb(231, 200, 218);
}
.half-width{
width: 50%;
padding-bottom: 90px;
}
.half-width img{
width: 556.01px;
height: 438px;
padding-top: 10px;
}
.button-arrow{
display: flex;
justify-content: center;
align-items: center;
height: 44px;
width: 168px;
left: 156px;
top: 464px;
border-radius: 0px;
background-color: #E02C6D;
text-align: center;
margin-left: 20px;
}
.button-arrow:hover{
background-color: turquoise;
}
a{
text-decoration: none;
}
.part-two{
display: flex;
margin-top: 40px;
margin-left: 80px;
margin-right: 80px;
}
.part-two img{
width: 100%;
}
.part1{
padding: 15px;
border: 10px solid whitesmoke;
box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15);
}
/* ----------------
footer
-------------- */
.logo-football img{
width: 30%;
margin-left: 350px;
margin-top: 50px;
}
.filled{
color: gray;
}
.social{
display: flex;
justify-content: center;
}
.filled{
margin-left: 10px;
}
.paragraph{
text-align: center;
}
/* media queries */
/* mobile devices */
@media only screen and (max-width:688px){
.text{
background-color: rgb(42, 23, 42);
font-size: large;
padding: 100%;
}
.half-width img{
margin-left: 0px;
width: 200%;
}
.part-two{
display: grid;
grid-template-columns: repeat(1,1fr);
}
.part-one{
flex-direction: column;
}
.logo-football img{
width:30%;
margin-left: 50px;
margin-top: 50px;
}
}
/* tablet devices */
@media only screen and (min-width:688px) and (max-width:992px){
.part-two{
display: grid;
grid-template-columns: repeat(2,1fr);
}
}