-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_html-converter.scss
More file actions
143 lines (120 loc) · 2.36 KB
/
Copy path_html-converter.scss
File metadata and controls
143 lines (120 loc) · 2.36 KB
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
.html-converter-main {
margin-top: 12rem;
margin: 12rem 1rem 0 1rem;
header {
padding: 1rem;
h1 {
margin-bottom: 3rem;
}
p {
text-align: center;
margin-bottom: 3rem;
}
}
}
.html-converter-section--1 {
padding: 2rem;
display: flex;
max-width: 130rem;
margin: auto;
justify-content: space-between;
background-color: rgb(233, 233, 233);
border: 1px solid var(--color-black);
border-radius: 5px;
}
.textarea-wrapper {
position: relative;
textarea {
padding: 4rem 2rem 2rem 2rem;
font-size: 1.8rem;
}
.primary-button {
font-size: 1.4rem;
}
}
.html-converter-clear-btn {
background-color: var(--grey-background);
position: absolute;
top: -1%;
right: -2%;
padding: 0.3rem;
border: 1px solid var(--grey-tag-border);
}
.html-converter-output-wrapper {
margin-left: 3rem;
width: 100%;
.output-box {
position: relative;
background-color: var(--grey-background);
border: 1px solid var(--grey-background-2);
padding: 3.5rem;
margin-top: 2rem;
max-height: 30rem;
overflow: auto;
code {
white-space: pre-line;
font-size: 1.8rem;
}
.primary-button {
font-size: 1.4rem;
}
}
.html-converter-copy-btn {
background-color: var(--grey-background);
position: absolute;
top: -2%;
right: -2%;
padding: 0.3rem;
border: 1px solid var(--grey-tag-border);
}
.html-converter-copy-btn:hover {
background-color: var(--grey-background-2);
}
}
.html-converter-section--2 {
max-width: 80rem;
margin-top: 12rem;
margin-left: auto;
margin-right: auto;
padding: 1rem;
h2 {
margin-bottom: 2rem;
border-bottom: 1px solid var(--grey-tag-border);
padding-bottom: 1rem;
}
picture {
display: flex;
justify-content: center;
align-items: center;
}
img {
max-width: 28rem;
margin-top: 3rem;
}
}
@media (max-width: 1069.98px) {
.html-converter-main header p {
margin-bottom: 1rem;
}
.html-converter-section--1 {
flex-direction: column;
}
.textarea-wrapper {
width: 100%;
textarea {
width: 100%;
}
}
.html-converter-output-wrapper {
margin-left: 0;
margin-top: 4rem;
}
}
@media (max-width: 500.98px) {
.textarea-wrapper textarea {
font-size: 1.4rem;
}
.html-converter-output-wrapper .output-box code {
font-size: 1.4rem;
}
}