-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle2.css
117 lines (98 loc) · 1.9 KB
/
style2.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 {
max-width: 60em;
margin: auto;
font-size: 16px;
background-color: rgba(240, 248, 255, 0.5);
}
h1 {
margin-top: 2em;
margin-bottom: 2em;
}
h1, h2 {
text-align: center;
}
.title {
text-align: center;
font-size: 32px;
}
.step-n {
border-radius: 50%;
width: 36px;
height: 36px;
padding: 8px;
background: #fff;
border: 2px solid #666;
color: #666;
text-align: center;
font: 32px Arial, sans-serif;
position: absolute;
top: -30px;
left: -30px;
}
.step, .ingredients {
max-width: 25em;
}
.step, .ingredients {
margin: auto;
margin-bottom: 40px;
position: relative;
}
.step {
border-style: solid;
border-color: LightGray;
border-radius: 5px;
border-width: 1px;
}
.step > .instructions {
border-color:DodgerBlue;
border-style: dotted;
border-width: 2px;
border-radius: 3px;
margin-left: 40px;
margin-right: 40px;
margin-top: 10px;
margin-bottom: 10px;
padding: 0.5em;
padding-top: 1em;
padding-bottom: 1em;
text-align: center;
}
.ingredients > ul > li > div {
border-color:rgba(255, 165, 0, 1);;
border-style: solid;
border-width: 1px;
}
.ingredients > ul > li > div:first-child {
background-color: rgba(255, 165, 0, 0.3);
}
.ingredients > ul > li > div:last-child {
background-color: rgba(255, 165, 0, 1);
}
ul {
padding-inline-start: 40px;
padding-inline-end: 40px;
}
li {
list-style: none;
margin-bottom: 2px;
display: flex;
justify-content: space-between;
}
li > div {
background-color: rgba(30, 144, 255, 0.1);
border-color:DodgerBlue;
border-style: solid;
border-width: 1px;
border-radius: 3px;
padding: 0.3em;
text-align: center;
font-size: 18px;
}
li > div:first-child {
width:11em;
}
li > div:last-child {
width: 5em;
background-color:DodgerBlue;
color: white;
}