File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 background-color : var (--ifm-background-surface-color );
2020 border : 1px solid var (--ifm-border-color ); /* Soft outline */
2121 border-radius : 8px ; /* Matches the modern feel */
22- padding : 12 px ;
22+ padding : 10 px ;
2323 position : relative;
2424 box-shadow : 0 2px 4px -1px rgba (0 , 0 , 0 , 0.03 ); /* Barely-there shadow */
2525 transition : all 0.2s ease;
26+ font-size : 0.9em ;
2627}
2728
2829: global (# carbonads : hover ) {
3233
3334: global (# carbonads .carbon-wrap ) {
3435 display : flex;
35- align-items : flex-start;
36- gap : 12px ; /* Adds clean space between the image and the text */
36+ flex-direction : column;
37+ gap : 8px ;
38+ }
39+
40+ : global (# carbonads .carbon-wrap img ) {
41+ width : 100% ;
42+ height : auto;
43+ border-radius : 4px ;
3744}
3845
3946: global (# carbonads .carbon-text ) {
4047 padding : 0 ;
41- font-size : 13 px ; /* Slightly smaller to feel less shouty */
42- line-height : 1.45 ;
48+ font-size : 12 px ;
49+ line-height : 1.4 ;
4350 color : var (--ifm-color-content-secondary );
4451}
4552
4855 text-align : right; /* Keeps it neatly tucked to the right */
4956
5057 /* Creates a hard, guaranteed gap between the ad text and the link */
51- margin-top : 10 px ;
58+ margin-top : 8 px ;
5259
53- font-size : 9 px ;
60+ font-size : 8 px ;
5461 font-weight : 700 ;
5562 line-height : 1 ;
5663 letter-spacing : 0.05em ;
You can’t perform that action at this time.
0 commit comments