Skip to content

Commit b8f3cd5

Browse files
authored
chore: add screenshot border (#54)
1 parent e230974 commit b8f3cd5

File tree

1 file changed

+26
-19
lines changed

1 file changed

+26
-19
lines changed

assets/css/docs-nginx-com/style.css

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,14 @@ section {
186186
display: block
187187
}
188188

189+
figure {
190+
border: solid 2px #42932D;
191+
margin-bottom: 10px;
192+
display: inline-block;
193+
max-width: 100%;
194+
max-height: 100%
195+
}
196+
189197
caption,
190198
td {
191199
font-weight: 300
@@ -363,8 +371,7 @@ dd {
363371
img {
364372
height: auto
365373
}
366-
button,
367-
figure {
374+
button {
368375
margin: 0
369376
}
370377
button,
@@ -1029,7 +1036,7 @@ blockquote {
10291036
position: relative;
10301037
border-left: 1px solid #00953a;
10311038
float: left;
1032-
width: 100%;
1039+
width: 100%;
10331040
}
10341041

10351042
blockquote strong{
@@ -1062,7 +1069,7 @@ pre {
10621069
*/
10631070
color: #202221;
10641071
font-size: 15px;
1065-
font-family: monospace;
1072+
font-family: monospace;
10661073
}
10671074

10681075

@@ -1191,16 +1198,16 @@ input.pull-left {
11911198
display: block;
11921199
}
11931200
/*hide chat box*/
1194-
#olark-wrapper{
1201+
#olark-wrapper{
11951202
display: none!important;
11961203
}
1197-
#habla_window_div *{ display: none !important; }
1204+
#habla_window_div *{ display: none !important; }
11981205
/*For Product page */
11991206
.prodspage-lead-section .prodspage-lead-solutions-list-wrapper {
12001207
float: none;
12011208
width: 100%;
12021209
}
1203-
.prodspage-lead-solutions-list-wrapper li.prodspage-lead-solution-item{
1210+
.prodspage-lead-solutions-list-wrapper li.prodspage-lead-solution-item{
12041211
position: static;
12051212
display: block;
12061213
width: 100%;
@@ -1211,14 +1218,14 @@ input.pull-left {
12111218
}
12121219
.prodspage-third-section .prodspage-third-section-inner{padding-bottom:0}
12131220
.prodspage-third-section .prodspage-third-section-content{height:auto}
1214-
.prodspage-third-section .prodspage-third-expand-button-wrapper{display:none}
1221+
.prodspage-third-section .prodspage-third-expand-button-wrapper{display:none}
12151222
.prodspage-third-section .prodspage-third-collapse-button-wrapper{ display: none;}
1216-
.nxmtrx-section .nxmtrx-cell{
1217-
float: none!important;
1223+
.nxmtrx-section .nxmtrx-cell{
1224+
float: none!important;
12181225
display: inline-block!important;
12191226
}
12201227
.nxmtrx-section .nxmtrx-cell.nxmtrx-col-1, .nxmtrx-section .nxmtrx-cell.nxmtrx-col-2 , .nxmtrx-section .nxmtrx-cell.nxmtrx-col-3,.nxmtrx-section .nxmtrx-cell.nxmtrx-col-4{
1221-
float: none!important;
1228+
float: none!important;
12221229
display: inline-block!important;
12231230
border-right:0px solid #ff0000;
12241231
}
@@ -1228,7 +1235,7 @@ input.pull-left {
12281235
.nxmtrx-section .nxmtrx-cell.nxmtrx-col-4{ width: 23%!important;}
12291236
.nxmtrx .nxmtrx-yes{ display: none; }
12301237
.nxmtrx img.nxmtrx-yes-img{ display: block!important; }
1231-
}/*---end @media only print ---*/
1238+
}/*---end @media only print ---*/
12321239

12331240

12341241
@media only screen and (max-width: 480px) {
@@ -1251,7 +1258,7 @@ input.pull-left {
12511258
float: none;
12521259
margin: 0 auto;
12531260
width: 100%;
1254-
}
1261+
}
12551262

12561263
.pull-left, .pull-right, .column.pull-left, .column.pull-right {
12571264
float: none;
@@ -1323,7 +1330,7 @@ input.pull-left {
13231330
.search-doc-wrapper input::-moz-placeholder,
13241331
.search-doc-wrapper input:-ms-input-placeholder,
13251332
.search-doc-wrapper input:-moz-placeholder ,
1326-
.search-doc-wrapper input:placeholder {
1333+
.search-doc-wrapper input:placeholder {
13271334
color: #898787;
13281335
font-weight: 500;
13291336
}
@@ -1429,7 +1436,7 @@ input.pull-left {
14291436
.doc-search-result a{
14301437
color: #898787;
14311438
font-size: 18px;
1432-
1439+
14331440
}
14341441
.doc-search-result a strong{
14351442
font-weight: 400;
@@ -1904,7 +1911,7 @@ button.nginx-button.btn-have-icon span.icon{
19041911
/*hide the navigation /relbar */
19051912
div.related {
19061913
display: none;
1907-
}
1914+
}
19081915

19091916
/* Hide nginx.com search box */
19101917
#nx_masthead .search-form-wrapper,
@@ -2002,12 +2009,12 @@ div.related {
20022009
}
20032010

20042011
@media screen and (max-width: 480px){
2005-
.nginx-doc-menu-block1 a:nth-child(3n),
2012+
.nginx-doc-menu-block1 a:nth-child(3n),
20062013
.nginx-doc-menu-block2 a:nth-child(3n),
20072014
.nginx-doc-content-menu a{
20082015
margin: 0 15px 15px 0;
20092016
}
2010-
.nginx-doc-menu-block1 a:nth-child(2n),
2017+
.nginx-doc-menu-block1 a:nth-child(2n),
20112018
.nginx-doc-menu-block2 a:nth-child(2n){
20122019
margin-right: 0;
20132020
}
@@ -2214,7 +2221,7 @@ text-decoration: none;
22142221

22152222

22162223
@media screen and (max-width: 575.98px) {
2217-
2224+
22182225
#nx_masthead {
22192226
height: auto!important;
22202227
padding-bottom: 14px;

0 commit comments

Comments
 (0)