-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
99 lines (88 loc) · 1.92 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
/*///////// Body////////////*/
body {
width: 100%;
height: 100vh;
align-items: center;
display: flex;
justify-content: space-evenly;
background-image: url(./img/BG2_low.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/*///////// Input Div////////////*/
.madLibsEdit {
overflow: auto;
padding: 40px;
margin-bottom: 20px;
background-color: rgba(194, 232, 255, 0.712);
border: 1px solid transparent;
border-radius: 25px;
width: 35%;
height: 60%;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 25%);
}
.madLibsEdit input {
width: 12%;
margin: 0 2px 10px 2px;
padding: 2px;
background-color: rgba(235, 235, 235, 0.603);
border: 1px solid transparent;
border-radius: 10px;
outline: none;
}
.madLibsEdit input:focus {
background-color: #ffc930;
border: 1px solid transparent;
border-radius: 10px;
outline: none;
}
.madLibsEdit input::placeholder {
text-align: center;
}
/*///////// Preview Div////////////*/
.madLibsPreview {
overflow: auto;
padding: 40px;
margin-bottom: 20px;
background-color: rgba(255, 188, 149, 0.712);
border: 1px solid transparent;
border-radius: 25px;
box-shadow: teal;
width: 35%;
height: 60%;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 25%);
}
span {
display: inline-block;
margin: 0 2px 10px 2px;
/* padding: 1px; */
}
/*///////// Responsive////////////*/
@media only screen and (max-width: 600px) {
body {
display: flex;
flex-direction: column;
justify-content: space-evenly;
background-image: url(./img/BG1_low.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.madLibsEdit {
width: 80%;
height: 40%;
padding: 20px;
}
.madLibsPreview {
width: 80%;
height: 40%;
padding: 20px;
}
}
/*
@media only screen and (max-device-width: 400px) {
body {
min-width: 399px;
}
} */