Pop-up dictionary browser extension for language learning. Successor to Yomichan. (PERSONAL FORK)
at lambda-fork/main 54 lines 1.0 kB view raw
1body { 2 font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 3 font-size: 14px; 4 max-width: 680px; 5 padding: 0 1em; 6 box-sizing: border-box; 7 margin: 0 auto; 8 background-color: #f8f8f8; 9 counter-reset: test-id; 10 overflow-y: scroll; 11} 12 13h1 { 14 font-size: 2em; 15 margin: 0.67em 0; 16} 17 18p { 19 margin: 0.33em 0; 20} 21 22h1+test-description { 23 margin-top: -0.67em; 24} 25 26a, a:visited { 27 color: #1080c0; 28 text-decoration: underline; 29} 30 31test-case { 32 display: block; 33 background-color: #ffffff; 34 margin: 1em 0; 35 padding: 0.5em; 36 box-shadow: rgba(64, 64, 64, 0.3) 0px 1px 2px 0px, rgba(64, 64, 64, 0.15) 0px 1px 3px 1px; 37 border-radius: 4px; 38} 39 40test-case::before { 41 content: 'Test ' counter(test-id); 42 display: block; 43 counter-increment: test-id; 44 margin-bottom: 0.5em; 45 border-bottom: 1px solid #d8d8d8; 46 font-weight: bold; 47} 48 49test-description { 50 color: #444444; 51 font-style: italic; 52 display: block; 53 padding-bottom: 0.5em; 54}