-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
122 lines (114 loc) · 2.08 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
*{
box-sizing: border-box;
margin: 0;
}
body{
background-image: url("src/img/layered-steps-haikei.svg");
background-repeat: repeat-x;
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.nav{
width: 1100px;
max-width: 90%;
margin: 1rem auto;
grid-area: header;
}
.main-container{
width: 1200px;
max-width: 90%;
margin: auto;
display: grid;
grid-template-areas: 'header header header'
' main main right'
' footer footer footer';
gap: 1rem;
}
/* -------------------------------section 1-------------------------- */
.container-form{
grid-area: main;
}
span, .bx {
color: #fff;
}
textarea{
resize: none;
padding: 1rem;
background-color: transparent;
border: none;
outline: none;
font-weight: 600;
color: #ffffff;
/*make the textarea responsive */
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
}
h3,h2,p{
color: #0A3871;
}
#data{
display: none;
word-wrap: break-word;
width:210px;
max-width:250px;
}
.button-container{
display: flex;
justify-content: center;
align-items: center;
}
button{
margin: 1rem;
width: 100%;
min-width: 40%;
padding: 1rem;
border: none;
border-radius: 2rem;
cursor: pointer;
background-color: #0066FF;
color:#fff
}
.desencript-btn{
background-color: #ffffff;
color: #0A3871;
border: 2px solid #0066FF;
}
#copy-btn{
position: absolute;
display: none;
bottom: 0;
max-width: 200px;
}
/* -------------------------------section 2-------------------------- */
.container-data{
grid-area: right;
padding: 4rem 2rem;
border-radius: 1rem;
background-color: #fff;
display: flex;
position: relative;
align-items:center;
flex-direction: column;
}
.alura-toy{
width: 90%;
}
@media (max-width:688px) {
.main-container{
display: block;
}
.alura-toy{
display: none;
}
textarea{
max-height: 250px;
}
.container-data{
padding: 2rem 1rem;
}
#copy-btn{
margin-top: 1rem;
position: relative;
max-width: 200px;
}
}