-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (84 loc) · 1.54 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
@font-face {
font-family: barna;
src:url("datas/fonts/BarnaRegular/Barna-Regular.woff2"),
url("datas/fonts/BarnaRegular/Barna-Regular.woff");
font-style: normal;
font-display: swap;
}
@font-face {
font-family: barnaBold;
src:url("datas/fonts/BarnaBold/Barna-Bold.woff2"),
url("datas/fonts/BarnaBold/Barna-Bold.woff");
font-style: bold;
font-weight: 700;
font-display: swap;
}
body {
font-family: barna, Arial, Helvetica, sans-serif;
box-sizing: border-box;
}
h1, h3, h4 {
font-family:barnaBold;
}
h1 {
display: flex;
align-items: center;
font-size: 3rem;
}
h2, .h2 {
margin-bottom: 1rem;
font-size: 2rem;
font-weight: normal;
}
div {
position: relative;
}
label {
display: block;
font-size: 2rem;
margin-bottom: 1rem;
}
button {
position: absolute;
top: 0; right: -2px;
cursor: pointer;
width: 40px;
min-height: 100%;
border: 0;
background: #000;
color: #fff;
font-family: barnaBold;
}
input {
width: 100%;
min-height: 40px;
padding: 0;
border-radius: 3px;
border: 2px solid #000;
}
.logo {
width: 25px;
}
.hidden {
visibility: hidden;
opacity: 0;
}
figure {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 2rem;
margin: 2rem 0;
padding: 1rem;
background: #eee;
}
figcaption {
padding-left: 1.5rem;
font-family: Arial, Helvetica, sans-serif;
font-style: italic;
color: #555;
border-left: 5px solid #ddd;
}
#img-to-txt {
width: 100%;
height: auto;
}