-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
116 lines (115 loc) · 1.96 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
html{
font-size: 62.5%;
}
body{
box-sizing: border-box;
margin: 0 auto;
padding: 0 auto;
text-decoration: none;
height: 100vh;
}
main{
margin: 0 auto;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
background: url("https://svgshare.com/i/YgF.svg") no-repeat;
background-size: cover;
}
header{
display: flex;
flex-direction: column;
align-items: center;
width: 100vw;
color: white;
background-color: black;
font-family: Benne;
}
fieldset legend{
background-color: white;
text-decoration: underline;
text-decoration-thickness: 5% ;
padding-bottom: 0.4rem;
border-radius: 0.8rem;
text-align: center;
transform: translateY(-20%);
font-size: 3rem;
}
fieldset{
background-color: white;
border-radius: 0.8rem;
box-shadow:0rem 0rem 3rem 0.1rem black;
border: solid black 0.02rem;
padding: 0 3rem 2rem 3rem;
margin: 2.5rem auto 2rem auto;
width: min(50rem, 80%);
display: flex;
align-items: center;
flex-direction: column;
}
header h2{
font-size: 2.5rem;
margin: 0 auto;
}
#title{
display: flex;
justify-content: space-around;
margin-bottom: -4rem;
margin-top: -2rem;
font-size: 4rem;
}
button.list{
width: 60%;
height: min(2.5rem, 50%);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
padding: 0 auto;
font-size: 2.5em;
outline: none;
}
#title p::first-letter{
font-size: 5rem;
}
#navig{
display: flex;
font-size: 1.8rem;
justify-content: space-evenly;
background-color: black;
width: 70%;
}
#navig a{
font-size: 1.9rem;
color: white;
text-decoration: none;
}
#navig h3{
margin: 0;
}
.recipe ul{
font-size: 1.4em;
margin: 0 auto;
padding: 0 1.5rem;
width: 80%;
list-style-type: none;
}
.recipe ul h3{
font-size: 1.5rem;
margin: 0;
width: max(25%, 13rem);
}
.recipe ul li{
border: solid 0.1rem black;
word-break: break-all;
}
fieldset img{
width: 50%;
margin-top: 2rem;
border: solid 0.5rem black;
border-radius: 0.8rem;
height: 40%;
}