-
Notifications
You must be signed in to change notification settings - Fork 389
/
styles.css
146 lines (124 loc) · 2.01 KB
/
styles.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/* ~~~~~ GLOBAL RULES ~~~~~ */
*,
*:before,
*:after {
box-sizing: border-box;
font-family: "EB Garamond", serif;
margin: auto;
text-align: center;
}
body {
background: ghostwhite;
}
button,
input {
font-size: 20px;
padding: 10px 20px;
}
button {
background: black;
border: none;
border-radius: 10px;
color: white;
}
button:hover {
background: darkslateblue;
}
.hidden {
display: none!important;
}
/* ~~~~~ MAIN POSTER SECTION ~~~~~ */
.main-poster {
height: 100vh;
}
.poster {
background: black;
display: flex;
flex-direction: column;
justify-content: center;
margin: 20px auto;
padding: 50px 20px;
width: 70%;
}
.poster-img {
background-size: cover;
border: 2px solid white;
max-width: 80%;
}
.poster-title,
.poster-quote {
color: white;
line-height: 1;
width: 90%;
}
.poster-title {
font-size: 60px;
font-weight: normal;
letter-spacing: 20px;
margin-bottom: 10px;
text-transform: uppercase;
}
.main-poster button {
margin: 10px;
}
/* ~~~~~ POSTER FORM SECTION ~~~~~ */
.poster-form {
display: flex;
flex-direction: column;
height: 100vh;
}
.poster-form h2 {
margin-bottom: 30px;
}
.poster-form form {
align-content: center;
display: flex;
flex-direction: column;
width: 40%;
}
.poster-form input {
display: block;
margin-bottom: 20px;
width: 100%;
}
.poster-form .divider {
border-bottom: 1px solid black;
margin: auto;
margin-bottom: 20px;
width: 400px;
}
/* ~~~~~ SAVED POSTER SECTION ~~~~~ */
.saved-posters {
padding: 40px;
}
.saved-posters-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20px;
padding: 20px;
}
.mini-poster {
background: black;
color: white;
height: 340px;
padding: 25px;
width: 425px;
}
.mini-poster img {
height:200px;
width: 300px;
}
.mini-poster h2,
.mini-poster h4,
.delete {
color: white;
line-height: 1;
width: 90%;
}
.mini-poster h2 {
font-size: 30px;
font-weight: normal;
letter-spacing: 5px;
margin-bottom: 10px;
text-transform: uppercase;
}