-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
150 lines (128 loc) · 2.6 KB
/
style.css
File metadata and controls
150 lines (128 loc) · 2.6 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
@import url('https://fonts.googleapis.com/css2?family=Passion+One&family=Work+Sans&display=swap');
/* Removing the preset padding and margin */
* {
padding: 0;
margin: 0;
}
body {
color: white;
background-color: black;
}
/* Styling Header */
header {
background-image: url("https://kq-storage.s3.ap-south-1.amazonaws.com/Github/animax/animax-bg%5B1%5D.png");
background-size: 100% 100%;
max-width: 100%;
max-height: 100%;
border: 8px solid #1B1717;
}
#logo img {
height: 5vh;
}
#header-text>p {
width: 300px;
}
nav {
margin: 2% 7%;
}
#scroll {
width: 80px;
}
.movie-text {
max-width: 400px;
}
/* Styling header text */
#header-text {
max-width: 500px;
min-height: 300px;
padding: 10% 0%;
margin: auto;
align-items: center;
text-align: center;
}
/* Styling buttons */
.button {
background-color: #F50A5F;
padding: 7px;
}
a {
text-decoration: none;
color: white;
}
/* Styling play button */
#play {
display: inline;
}
/* giving size to the div */
.movie-image {
height: 240px;
width: 400px;
}
.movie-image>img {
width: 100%;
}
h1 {
font-family: 'Passion One', cursive;
font-size: 55px;
font-weight: lighter;
}
p {
font-family: 'Work Sans', sans-serif;
font-size: 22px;
}
.movie-text>p {
margin: 22px 0px;
}
hr {
color: #1B1717;
border: 4px solid #1B1717;
}
footer {
height: 90px;
text-align: center;
}
/* Iteration 1: Styling all the flex elements with (Justify-content:space-between) & (align-items:center) */
.flex-container{
display: flex;
justify-content: space-around;
align-items: center;
}
/* Iteration 2: Using flex-wrap */
.movies{
flex-wrap: wrap ;
min-height: 300px;
margin: 3% 14% ;
}
/* Iteration 3: Styling all the flex elements with (flex-direction:column), (Justify-content:space-evenly) */
.flex-column{
display: flex;
flex-direction: column;
justify-content: space-evenly;
justify-content: space-evenly;
}
/* Iteration 4: Animation */
#scroll{
position: relative;
animation:mymove 5s infinite ;
animation-play-state: running;
}
@keyframes mymove{
from{
top: 15px;
}
to{
top: 80px;
}
}
/* Iteration 5: Making webpage mobile responsive */
@media only screen and (max-width:600px){
.wrap-reverse{
flex-wrap: wrap-reverse;
}
.container{
text-align: center;
}
.button{
margin: 0% 2%;
}
}