diff --git a/sheet.css b/sheet.css index a3062d1..5a8816f 100644 --- a/sheet.css +++ b/sheet.css @@ -1,79 +1,17 @@ -div[num="1"][class="claim style-scope patent-text"] - { +/* + Apply styles to all
elements with class "claim style-scope patent-text" + and a `num` attribute that ends in "1" — this includes values like "1", "01", + "001", "0001", etc. The `$=` operator is a CSS attribute selector that matches + the *end* of a string. +*/ +div[num$="1"].claim.style-scope.patent-text { position: fixed!important; top: 0; - bottom: 0; - right: 0; - width: 300px; + bottom: 0; + right: 0; + width: 300px; font-weight: 900!important; border: 3px solid #73AD21; overflow-y:scroll; - overflow-x:hidden; -} - -div[num="01"][class="claim style-scope patent-text"] { - position: fixed!important; - top: 0; - bottom: 0; - right: 0; - width: 300px; - font-weight: 900!important; - border: 3px solid #73AD21; - overflow-y:scroll; - overflow-x:hidden; -} -div[num="001"][class="claim style-scope patent-text"] { - position: fixed!important; - top: 0; - bottom: 0; - right: 0; - width: 300px; - font-weight: 900!important; - border: 3px solid #73AD21; - overflow-y:scroll; - overflow-x:hidden; -} -div[num="0001"][class="claim style-scope patent-text"] { - position: fixed!important; - top: 0; - bottom: 0; - right: 0; - width: 300px; - font-weight: 900!important; - border: 3px solid #73AD21; - overflow-y:scroll; - overflow-x:hidden; -} -div[num="00001"][class="claim style-scope patent-text"] { - position: fixed!important; - top: 0; - bottom: 0; - right: 0; - width: 300px; - font-weight: 900!important; - border: 3px solid #73AD21; - overflow-y:scroll; - overflow-x:hidden; -} -div[num="000001"][class="claim style-scope patent-text"] { - position: fixed!important; - top: 0; - bottom: 0; - right: 0; - width: 300px; - font-weight: 900!important; - border: 3px solid #73AD21; - overflow-y:scroll; - overflow-x:hidden; -} -div[num="0000001"][class="claim style-scope patent-text"] { - position: fixed!important; - top: 0; - bottom: 0; - right: 0; - width: 300px; - font-weight: 900!important; - border: 3px solid #73AD21; - overflow-y:scroll; - overflow-x:hidden; + overflow-x:hidden; }