|
1 | | -/* Snippet Box Architecture */ |
2 | | -#snippet-box { |
3 | | - background: #F5F5F5; |
4 | | - border: 1px solid #ACACAC; |
5 | | - font-family: inherit; |
6 | | - font-size: 13px; |
7 | | - padding: 0; |
8 | | - margin: 0 0 15px 0; |
9 | | - width: 100%; |
10 | | - max-width: 600px; |
11 | | - display: block; |
12 | | -} |
13 | | -.snippet-title { |
14 | | - display: block; |
15 | | - position: relative; |
16 | | - font-family: inherit; |
17 | | - font-size: 14px; |
18 | | - font-weight: bold; |
19 | | - background: #E4E4E4; |
20 | | - border-bottom: 1px solid #ACACAC; |
21 | | - clear: both; |
22 | | - padding: 0.5em 1em; |
23 | | - width: 100%; |
24 | | -} |
25 | | -.snippet-image { |
26 | | - min-height: 190px; |
27 | | - width: 200px; |
28 | | - display: inline-block; |
29 | | - vertical-align: top; |
30 | | -} |
31 | | -.snippet-image img { |
32 | | - margin: 10px auto; |
33 | | - display: block; |
34 | | -} |
35 | | -.aio-info { |
36 | | - width: calc(100% - 200px); |
37 | | - display: inline-block; |
38 | | - vertical-align: top; |
39 | | -} |
40 | | -.snippet-label-img { |
41 | | - width: 40%; |
42 | | - display: inline-block; |
43 | | - text-align: right; |
44 | | - font-size: 13px; |
45 | | - font-weight: bold; |
46 | | - margin: 0; |
47 | | - padding: 0.3em 0.5em; |
48 | | - vertical-align: top; |
49 | | -} |
50 | | -.snippet-data-img { |
51 | | - width: 58%; |
52 | | - display: inline-block; |
53 | | - padding: 0.3em 0.5em; |
54 | | - vertical-align: top; |
55 | | -} |
56 | | -.snippet-type-2 .aio-info { |
57 | | - width: 100%; |
58 | | -} |
59 | | -.snippet-type-2 .snippet-label-img { |
60 | | - width: 33%; |
61 | | -} |
62 | | -.snippet-type-2 .snippet-data-img { |
63 | | - width: 65%; |
64 | | -} |
65 | | -.snippet-clear { |
66 | | - clear:both; |
67 | | -} |
68 | | -.snippet-markup { |
69 | | - width: 100%; |
70 | | - display: block; |
71 | | -} |
72 | | -.snippet-label { |
73 | | - width: 33%; |
74 | | - display: inline-block; |
75 | | - text-align: right; |
76 | | - font-size: 13px; |
77 | | - font-weight: bold; |
78 | | - margin: 0; |
79 | | - padding: 0.3em 0.5em; |
80 | | -} |
81 | | -.snippet-data { |
82 | | - width: 65%; |
83 | | - display: inline-block; |
84 | | - padding: 0.3em 0.5em; |
85 | | -} |
86 | | -/* Ratings */ |
87 | | -.ratings { |
88 | | - position: absolute; |
89 | | - right: 1em; |
90 | | - top: 50%; |
91 | | - transform: translateY(-50%); |
92 | | -} |
93 | | -.star-blocks { |
94 | | - background: transparent; |
95 | | -} |
96 | | -.star-rating-control { |
97 | | - margin-top: 0; |
98 | | -} |
99 | | -.star-img img { |
100 | | - box-shadow: none; |
101 | | - margin: -2px 2px; |
102 | | - border: none !important; |
103 | | - padding: 0 !important; |
104 | | - display: inline-block; |
105 | | -} |
106 | | -.rating-count { |
107 | | - font-weight:bold; |
108 | | -} |
109 | | -.rating-value { |
110 | | - display:none; |
111 | | -} |
112 | | - |
113 | | -/* Unknown CSS */ |
114 | | -#snippet-box iframe { |
115 | | - width: 90%; |
116 | | - margin: 0 auto; |
117 | | - display: block; |
118 | | -} |
119 | | - |
120 | | -/* Responsive Structure */ |
121 | | -@media (max-width: 768px) { |
122 | | - .snippet-title { |
123 | | - padding: 0.5em 0 0.5em 4%; |
124 | | - } |
125 | | - .snippet-image { |
126 | | - margin: 0 0 15px 0; |
127 | | - width: 100%; |
128 | | - } |
129 | | - .aio-info { |
130 | | - width: 100%; |
131 | | - clear: both; |
132 | | - } |
133 | | -} |
| 1 | +/* Accessibility: Screen Reader Text */ |
| 2 | +.bsf-sr-only { |
| 3 | + position: absolute; |
| 4 | + width: 1px; |
| 5 | + height: 1px; |
| 6 | + padding: 0; |
| 7 | + margin: -1px; |
| 8 | + overflow: hidden; |
| 9 | + clip: rect(0, 0, 0, 0); |
| 10 | + white-space: nowrap; |
| 11 | + border: 0; |
| 12 | +} |
| 13 | + |
| 14 | +/* Snippet Box Architecture */ |
| 15 | +#snippet-box { |
| 16 | + background: #f5f5f5; |
| 17 | + border: 1px solid #acacac; |
| 18 | + font-family: inherit; |
| 19 | + font-size: 13px; |
| 20 | + padding: 0; |
| 21 | + margin: 0 0 15px 0; |
| 22 | + width: 100%; |
| 23 | + max-width: 600px; |
| 24 | + display: block; |
| 25 | +} |
| 26 | +.snippet-title { |
| 27 | + display: block; |
| 28 | + position: relative; |
| 29 | + font-family: inherit; |
| 30 | + font-size: 14px; |
| 31 | + font-weight: bold; |
| 32 | + background: #e4e4e4; |
| 33 | + border-bottom: 1px solid #acacac; |
| 34 | + clear: both; |
| 35 | + padding: 0.5em 1em; |
| 36 | + width: 100%; |
| 37 | +} |
| 38 | +.snippet-image { |
| 39 | + min-height: 190px; |
| 40 | + width: 200px; |
| 41 | + display: inline-block; |
| 42 | + vertical-align: top; |
| 43 | +} |
| 44 | +.snippet-image img { |
| 45 | + margin: 10px auto; |
| 46 | + display: block; |
| 47 | +} |
| 48 | +.aio-info { |
| 49 | + width: calc(100% - 200px); |
| 50 | + display: inline-block; |
| 51 | + vertical-align: top; |
| 52 | +} |
| 53 | +.snippet-label-img { |
| 54 | + width: 40%; |
| 55 | + display: inline-block; |
| 56 | + text-align: right; |
| 57 | + font-size: 13px; |
| 58 | + font-weight: bold; |
| 59 | + margin: 0; |
| 60 | + padding: 0.3em 0.5em; |
| 61 | + vertical-align: top; |
| 62 | +} |
| 63 | +.snippet-data-img { |
| 64 | + width: 58%; |
| 65 | + display: inline-block; |
| 66 | + padding: 0.3em 0.5em; |
| 67 | + vertical-align: top; |
| 68 | +} |
| 69 | +.snippet-type-2 .aio-info { |
| 70 | + width: 100%; |
| 71 | +} |
| 72 | +.snippet-type-2 .snippet-label-img { |
| 73 | + width: 33%; |
| 74 | +} |
| 75 | +.snippet-type-2 .snippet-data-img { |
| 76 | + width: 65%; |
| 77 | +} |
| 78 | +.snippet-clear { |
| 79 | + clear: both; |
| 80 | +} |
| 81 | +.snippet-markup { |
| 82 | + width: 100%; |
| 83 | + display: block; |
| 84 | +} |
| 85 | +.snippet-label { |
| 86 | + width: 33%; |
| 87 | + display: inline-block; |
| 88 | + text-align: right; |
| 89 | + font-size: 13px; |
| 90 | + font-weight: bold; |
| 91 | + margin: 0; |
| 92 | + padding: 0.3em 0.5em; |
| 93 | +} |
| 94 | +.snippet-data { |
| 95 | + width: 65%; |
| 96 | + display: inline-block; |
| 97 | + padding: 0.3em 0.5em; |
| 98 | +} |
| 99 | +/* Ratings */ |
| 100 | +.ratings { |
| 101 | + position: absolute; |
| 102 | + right: 1em; |
| 103 | + top: 50%; |
| 104 | + transform: translateY(-50%); |
| 105 | +} |
| 106 | +.star-blocks { |
| 107 | + background: transparent; |
| 108 | +} |
| 109 | +.star-rating-control { |
| 110 | + margin-top: 0; |
| 111 | +} |
| 112 | +.star-img img { |
| 113 | + box-shadow: none; |
| 114 | + margin: -2px 2px; |
| 115 | + border: none !important; |
| 116 | + padding: 0 !important; |
| 117 | + display: inline-block; |
| 118 | +} |
| 119 | +.rating-count { |
| 120 | + font-weight: bold; |
| 121 | +} |
| 122 | +.rating-value { |
| 123 | + display: none; |
| 124 | +} |
| 125 | + |
| 126 | +/* Unknown CSS */ |
| 127 | +#snippet-box iframe { |
| 128 | + width: 90%; |
| 129 | + margin: 0 auto; |
| 130 | + display: block; |
| 131 | +} |
| 132 | + |
| 133 | +/* Responsive Structure */ |
| 134 | +@media (max-width: 768px) { |
| 135 | + .snippet-title { |
| 136 | + padding: 0.5em 0 0.5em 4%; |
| 137 | + } |
| 138 | + .snippet-image { |
| 139 | + margin: 0 0 15px 0; |
| 140 | + width: 100%; |
| 141 | + } |
| 142 | + .aio-info { |
| 143 | + width: 100%; |
| 144 | + clear: both; |
| 145 | + } |
| 146 | +} |
| 147 | + |
| 148 | +/* Accessibility: Focus Styles */ |
| 149 | +#snippet-box a:focus, |
| 150 | +#snippet-box input:focus, |
| 151 | +#snippet-box select:focus, |
| 152 | +#snippet-box button:focus { |
| 153 | + outline: 2px solid #0073aa; |
| 154 | + outline-offset: 2px; |
| 155 | +} |
| 156 | +.star-rating-control div.star-rating a:focus { |
| 157 | + outline: 2px solid #0073aa; |
| 158 | + outline-offset: 1px; |
| 159 | +} |
0 commit comments