Skip to content

Commit c7f77bd

Browse files
bahmutovjennifer-shehane
authored andcommitted
feat: add data attribute example to cy.get (#171)
1 parent b023757 commit c7f77bd

File tree

3 files changed

+252
-159
lines changed

3 files changed

+252
-159
lines changed

app/assets/css/styles.css

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
body {
22
padding-top: 0;
3-
font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
3+
font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
44
}
55

66
h4 {
7-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
7+
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
88
font-size: 22px;
99
}
1010

1111
code {
12-
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
12+
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
1313
}
1414

1515
pre {
@@ -28,7 +28,7 @@ table {
2828
}
2929

3030
pre code {
31-
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
31+
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
3232
padding: 0;
3333
}
3434

@@ -46,6 +46,11 @@ canvas {
4646
-webkit-box-shadow: 0 0 0 #fff;
4747
}
4848

49+
/* Just like well, but for second row, with just a single line of text */
50+
.well-1-line {
51+
margin-top: 2em;
52+
}
53+
4954
/*---------nav----------*/
5055

5156
.navbar {
@@ -60,12 +65,13 @@ canvas {
6065
/*---------banner----------*/
6166

6267
.banner {
63-
background-color: #00BF88;
68+
background-color: #00bf88;
6469
color: #fff;
6570
padding: 25px 0 35px;
6671
}
6772

68-
.banner p, .banner-alt p {
73+
.banner p,
74+
.banner-alt p {
6975
font-size: 18px;
7076
}
7177

@@ -75,8 +81,8 @@ canvas {
7581
}
7682

7783
.banner-alt {
78-
background-color: #EEF1F4;
79-
color: #6B707C;
84+
background-color: #eef1f4;
85+
color: #6b707c;
8086
padding: 25px 0 35px;
8187
}
8288

@@ -86,7 +92,7 @@ canvas {
8692

8793
.home-list {
8894
list-style: none;
89-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
95+
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
9096
margin: 35px 0;
9197
padding-left: 0;
9298
line-height: 28px;
@@ -97,29 +103,29 @@ li.header {
97103
list-style: none;
98104
}
99105

100-
.home-list>li {
106+
.home-list > li {
101107
margin-top: 25px;
102108
padding-bottom: 20px;
103109
border-bottom: 1px solid #ddd;
104110
font-size: 20px;
105111
font-weight: bold;
106112
}
107113

108-
.home-list>li:last-child {
114+
.home-list > li:last-child {
109115
border-bottom: 0;
110116
}
111117

112-
.home-list>li>ul {
118+
.home-list > li > ul {
113119
list-style: none;
114120
padding-left: 0px;
115121
}
116122

117-
.home-list>li>ul>li {
123+
.home-list > li > ul > li {
118124
font-size: 16px;
119125
color: #666;
120126
}
121127

122-
.home-list>li>ul>li>a {
128+
.home-list > li > ul > li > a {
123129
font-weight: normal;
124130
}
125131

@@ -170,7 +176,9 @@ li.header {
170176
color: white;
171177
}
172178

173-
.network-btn, .network-post, .network-put {
179+
.network-btn,
180+
.network-post,
181+
.network-put {
174182
margin-bottom: 20px;
175183
}
176184

@@ -193,15 +201,15 @@ li.header {
193201
overflow: auto;
194202
}
195203

196-
#scrollable-horizontal ul>li,
197-
#scrollable-vertical ul>li,
198-
#scrollable-both ul>li {
204+
#scrollable-horizontal ul > li,
205+
#scrollable-vertical ul > li,
206+
#scrollable-both ul > li {
199207
list-style: none;
200208
margin: 20px;
201209
float: left;
202210
}
203211

204-
#scrollable-horizontal ul>li {
212+
#scrollable-horizontal ul > li {
205213
display: inline-block;
206214
}
207215

@@ -212,18 +220,15 @@ li.header {
212220
}
213221

214222
::-webkit-scrollbar-track {
215-
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
216-
border-radius: 4px;
223+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
224+
border-radius: 4px;
217225
}
218226

219227
::-webkit-scrollbar-thumb {
220228
border-radius: 4px;
221-
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
229+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
222230
}
223231

224-
225-
226-
227232
/*
228233
229234
code highlight styling

0 commit comments

Comments
 (0)