@@ -254,9 +254,11 @@ blockquote .author {
254
254
margin : 0em ;
255
255
}
256
256
257
+ # example .masthead iframe .github {
258
+ width : 101px !important ;
259
+ }
257
260
# example .masthead iframe {
258
261
margin-left : 5px ;
259
- width : 101px !important ;
260
262
float : right;
261
263
}
262
264
@@ -2103,14 +2105,21 @@ code .chunk {
2103
2105
Style Overrides
2104
2106
-----------------*/
2105
2107
2108
+ # example .masthead .advertisement {
2109
+ width : 285px ;
2110
+ height : 130px ;
2111
+ }
2112
+ # example .masthead .advertisement # carbonads {
2113
+ width : 100% ;
2114
+ height : 130px ;
2115
+ }
2106
2116
# example .advertisement # carbonads {
2107
2117
position : relative;
2108
2118
display : block;
2109
- width : auto;
2110
2119
margin : 0 auto;
2111
- background-color : # F5F8F9 ;
2112
- border : 1px solid # 9ECAD3 ;
2113
- box-shadow : 0 1 px 2px rgba (0 , 0 , 0 , 0.08 );
2120
+ background-color : # F5F5F5 ;
2121
+ border : 1px solid # CCCCCC ;
2122
+ box-shadow : 0 2px 3 px rgba (0 , 0 , 0 , 0.08 ) inset ;
2114
2123
padding : 1em ;
2115
2124
font-family : "Helvetica Neue" , Arial, sans-serif;
2116
2125
overflow : hidden;
@@ -2180,82 +2189,71 @@ code .chunk {
2180
2189
width : auto;
2181
2190
}
2182
2191
2183
- # example . bsa-cpc # _default_ {
2192
+ # semantic-sponsor {
2184
2193
position : relative;
2194
+ z-index : 3 ;
2195
+ margin-top : -1px ;
2196
+ min-height : 40px ;
2197
+ border-top : solid 1px # dddddd ;
2185
2198
border-bottom : solid 1px # dddddd ;
2186
- text-align : center;
2187
- font-size : 14px ;
2188
- line-height : 1.5 ;
2189
- transition : background 0.3s ease;
2190
2199
}
2191
- # example .bsa-cpc # _default_ : hover {
2192
- background-color : # FAFAFA ;
2193
- }
2194
-
2195
- # example .bsa-cpc .default-ad {
2196
- display : none;
2200
+ # semantic-sponsor : hover {
2201
+ border-color : # 87C7D0 ;
2197
2202
}
2198
2203
2199
- # example .bsa-cpc ._default_ {
2200
- display : inline-block;
2201
- overflow : hidden;
2202
- padding : 10px 3em ;
2203
- max-width : 1044px ;
2204
- color : # 415a5a ;
2205
- text-align : left;
2206
- line-height : 1 ;
2207
- margin-right : 344px ;
2204
+ .native-link {
2208
2205
display : block;
2206
+ width : 100% ;
2207
+ background-color : # F5F5F5 ;
2208
+ padding : 5px 3em ;
2209
+ color : # 415a5a ;
2209
2210
}
2210
-
2211
- # example . bsa-cpc . _default_ > * {
2212
- vertical-align : middle ;
2211
+ . native-link : hover {
2212
+ color : # 000000 ;
2213
+ background-color : # F0F8F9 ;
2213
2214
}
2214
2215
2215
- # example .bsa-cpc a {
2216
+ .native-link ,
2217
+ .native-ad {
2216
2218
text-decoration : none;
2217
2219
}
2218
-
2219
- # example .bsa-cpc .default-image {
2220
- display : inline-block;
2221
- margin-right : 6px ;
2222
- line-height : 0 ;
2223
- }
2224
-
2225
- # example .bsa-cpc .default-image img {
2226
- height : 18px ;
2227
- border-radius : 3px ;
2220
+ .native-ad {
2221
+ position : absolute;
2222
+ right : 1rem ;
2228
2223
}
2229
2224
2230
- # example .bsa-cpc .default-title : after {
2231
- content : " — " ;
2225
+ .native-inline ,
2226
+ .native-link {
2227
+ display : flex;
2228
+ align-items : center;
2232
2229
}
2233
2230
2234
- # example .bsa-cpc .default-title ,
2235
- # example .bsa-cpc .default-description {
2236
- display : inline;
2231
+ .native-img {
2232
+ margin-right : 10px ;
2233
+ display : block;
2234
+ padding : 5px ;
2235
+ height : 30px ;
2236
+ flex : 0 0 auto;
2237
+ width : 30px ;
2238
+ border-radius : 50% ;
2237
2239
}
2238
2240
2239
- # example .bsa-cpc .default-title {
2240
- position : relative;
2241
- font-weight : 600 ;
2241
+ .native-text {
2242
+ margin-right : 38px ;
2242
2243
}
2243
2244
2244
- # example .bsa-cpc .default-description : after {
2245
- position : relative;
2246
- top : 0px ;
2247
- right : 0px ;
2248
- padding : 4px 6px ;
2249
- float : right;
2245
+ .native-ad {
2246
+ padding : 4px 7px 4px ;
2247
+ line-height : 1 ;
2250
2248
border-radius : 3px ;
2251
2249
background-color : # 848484 ;
2252
2250
color : # fff ;
2253
- content : "Ad" ;
2254
- text-transform : uppercase;
2255
- font-size : 9px ;
2256
- font-family : Verdana, sans-serif;
2251
+ font-size : 10px ;
2257
2252
}
2258
2253
2254
+ .native-ad : hover {
2255
+ color : # fff ;
2256
+ }
2259
2257
2260
2258
2261
2259
/*******************************
@@ -2325,21 +2323,26 @@ code .chunk {
2325
2323
/* Table Ad */
2326
2324
@media only screen and (max-width : 1272px ) {
2327
2325
2326
+ # example .masthead > .container : first-child {
2327
+ display : flex;
2328
+ flex-direction : row;
2329
+ }
2328
2330
# example .masthead > .container {
2329
2331
margin-right : 2em !important ;
2330
2332
max-width : none !important ;
2331
2333
}
2332
2334
# example .masthead .introduction {
2333
- display : table-cell;
2334
2335
vertical-align : top;
2335
- width : 100 % ;
2336
+ flex : 1 0 auto ;
2336
2337
}
2337
2338
# example .masthead .advertisement {
2338
2339
position : static;
2339
2340
float : none;
2340
- display : table-cell ;
2341
+ flex : 0 1 auto ;
2341
2342
vertical-align : bottom;
2342
- padding-left : 3em ;
2343
+ padding-left : 0em ;
2344
+ margin-left : 2rem ;
2345
+ margin-top : -0.5rem ;
2343
2346
padding-right : 0em ;
2344
2347
}
2345
2348
# example .bsa-cpc ._default_ {
@@ -2350,14 +2353,30 @@ code .chunk {
2350
2353
/* Squish Content (Just For Small Computers) */
2351
2354
@media only screen and (max-width : 1272px ) {
2352
2355
2356
+ /* Resize TOC */
2357
+ # example .full .height > .toc {
2358
+ width : 200px ;
2359
+ }
2360
+ # example .article {
2361
+ margin-left : 200px ;
2362
+ }
2363
+ # example .masthead > .container ,
2364
+ # example .main .container ,
2365
+ # example .fixed .menu > .container {
2366
+ margin-left : 2rem !important ;
2367
+ margin-right : 2rem !important ;
2368
+ }
2353
2369
/* Resize Main Container */
2354
2370
# example .main .container {
2355
2371
margin-right : 318px !important ;
2356
2372
}
2357
2373
2358
- /* Resize TOC */
2359
- # example .full .height > .toc {
2360
- width : 200px ;
2374
+ .native-link {
2375
+ padding-left : 2rem ;
2376
+ padding-right : 2rem ;
2377
+ }
2378
+ .native-ad {
2379
+ right : 2rem ;
2361
2380
}
2362
2381
2363
2382
/* Resize Rail */
@@ -2506,6 +2525,16 @@ code .chunk {
2506
2525
2507
2526
@media only screen and (max-width : 768px ) {
2508
2527
2528
+ # example .masthead > .container : first-child {
2529
+ flex-direction : column;
2530
+ }
2531
+ # example .masthead .advertisement # carbonads {
2532
+ height : auto;
2533
+ }
2534
+ # example .masthead .advertisement {
2535
+ height : auto;
2536
+ margin : 1rem 0rem ;
2537
+ }
2509
2538
/* Hide Some Fixed Menu Content (Pagination, Search) */
2510
2539
# example .fixed .menu > .container > .section .item {
2511
2540
display : none;
0 commit comments