-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.css
116 lines (100 loc) · 2.58 KB
/
main.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
body{
width: 1200px;
margin: 2em auto;
font-family: 'Montserrat', sans-serif;
/*The font smooth is no longer on the CSS specification so it wont work for all users. */
font-smooth: always;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
color: #000000;
}
.error{
color: #dc143c;
}
form{
display: grid;
grid-template-columns: [left] 5fr [middle-left] 0.2fr [middle-right] 5fr [right];
grid-template-rows: [top] 10fr [top-center] 1fr [bottom-center] 10fr [bottom];
}
form fieldset:first-child{ /* Card Preview */
grid-column: left / middle-left;
grid-row: top / top-center;
}
.card_area{
margin: 0.5em;
display: grid;
grid-template-columns: [left] 5fr [middle-left] 0.1fr [middle-right] 7fr [right];
grid-template-rows: [top] 3fr [top-center] 0.2fr [bottom-center] 2fr [bottom];
}
form fieldset:first-child img{
grid-column: left / middle-left;
grid-row: top / top-center;
}
form fieldset:first-child ul{
grid-column: middle-right / right;
grid-row: top / top-center;
margin-top: 2em;
}
form fieldset:first-child ul li:nth-child(n+2){
margin-top: 0.5em;
}
form fieldset:first-child p{
grid-column: left / right;
grid-row: bottom-center / bottom;
margin-left: 1em;
}
form fieldset:nth-child(2){ /* Drop Images */
grid-column: middle-right / right;
grid-row: top / top-center;
display: flex;
flex-direction: row;
align-items: center;
}
input[type=file]{
display: none;
}
form fieldset:nth-child(2) strong{
z-index: -10;
}
form fieldset:nth-child(2) div{
width: 12.5em;
height: 12.5em;
margin: 2em;
border-width: 1px;
border-style: dashed;
border-color: darkgray;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
form fieldset:nth-child(3){ /* Text Fields */
grid-column: left / middle-left;
grid-row: bottom-center / bottom;
display: flex;
flex-direction: column;
align-items: flex-end;
}
form fieldset:nth-child(3) input, form fieldset:nth-child(3) select{
width: 32em;
}
form fieldset:nth-child(3) input[type=submit]{
width: 32em;
margin-top: 1.6em;
font-weight: bold;
border: 1px solid #f4f0f5;
color: #ffffff;
background-color: deepskyblue;
border-radius: 5px;
padding:0.6em 0.6em;
cursor: pointer;
/*visibility: hidden;*/
}
form fieldset:nth-child(3) button{
margin-top: 5em;
cursor: pointer;
}
form fieldset:nth-child(4){ /* Output */
grid-column: middle-right / right;
grid-row: bottom-center / bottom;
}