-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
135 lines (115 loc) · 1.98 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
131
132
133
134
135
/**************
* Whole Page *
**************/
html {
font-family: "Open Sans", sans-serif;
font-size: 18pt;
margin: 0;
padding: 20px;
background: radial-gradient(
circle at top left,
#ff6b52,
#feff68,
#89c97b,
#7486ff,
#ba6bad
);
}
h1, h6 {
text-align: center;
}
/***************
* Movie Table *
***************/
.movie-table tr {
display: flex;
flex-wrap: wrap;
}
.movie-table td {
display: flex;
flex-direction: column;
align-items: center;
padding: 10px;
width: 250px;
}
.movie-table img {
width: 100%;
height: auto;
padding-bottom: 10px;
}
table {
position: relative;
width: 100%;
left: 0;
}
/**********************
* Add New Movie Form *
**********************/
input, textarea {
padding: 30px 20px;
width: 50vw;
font-family: "Open Sans", sans-serif;
height: 28pt;
font-size: 14pt;
margin: 14px;
}
form {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
}
label {
padding-right: 20px;
font-size: 14pt;
text-align: right;
display: inline-block;
width: 28vw;
}
button[type=submit] {
position: relative;
height: 10vh;
width: 100%;
font-size: 14pt;
}
textarea {
overflow: visible;
resize: none;
height: 28pt;
}
form td {
width: 49%;
position: relative;
}
form td:only-child, form th {
width: 100%;
align-self: center;
padding: 20px;
}
tr:last-child:not(:only-child) {
text-align: center;
}
form thead {
background-color: rgba(255, 255, 255, 0.5);
}
form th {
height: 10vh;
}
form > div {
overflow-y: scroll;
background-color: rgba(255, 255, 255, 0.95);
position: fixed;
left: 0;
right: 0;
top: 90%;
transition: 500ms;
}
form > div:hover {
top: 20%;
bottom: 0;
transition: 500ms;
}
.scrolling-placeholder {
position: relative;
height: 10vh;
}