UNPKG

show-sintax

Version:

Librería para resaltar el código fuente

182 lines (152 loc) 2.81 kB
/*! * Show Code v1.1.0 * Copyright Federico Manzano * Licencia MIT * Repositorio (https://github.com/FedericoManzano/show-code-v1.1.0-fuente) */ @import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap"); pre[class^=cod-] { overflow: auto; font-family: "Source Code Pro" !important; font-weight: 300; background-color: white !important; color: black !important; font-size: 1em; position: relative; } pre[class^=cod-] .numeracion { position: absolute; border-right: 2px solid #01db92; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; min-width: 30px; } pre[class^=cod-] .numeracion span { display: flex; justify-content: center; align-items: center; font-size: 0.95em; padding: 0 7px; } pre[class^=cod-] { background-color: #f0f0f0 !important; color: black; font-weight: 300 !important; } pre[class^=cod-] .numeracion { background-color: #f0f0f0; } pre[class^=cod-] .numeracion span { background-color: #f0f0f0; border-bottom: 1px solid rgba(0, 0, 0, 0.178); color: #272727; } /** HTML */ .show-eti { color: #0053a0 !important; font-weight: 500; } .show-ang { color: #2b2b2b !important; font-weight: 500; } .show-attr { color: #5b0072 !important; font-weight: 500; } .show-string { color: #fc0000 !important; } .show-com { color: #006e18 !important; } .show-neutro { color: black !important; font-weight: 300; } /** CSS */ .show-selectores { color: #d8351f !important; } .show-claves { color: #6500a8 !important; font-weight: 500; } .show-prop { color: #0065a8 !important; } .show-valor { color: #a55d00 !important; } .show-llaves { color: black !important; } .show-res { color: #0051bb !important; font-weight: 600; } .show-nombres { color: #af6a1b !important; } .show-control { color: #5b00c4 !important; font-weight: 500; } .show-op { color: #04a064 !important; font-weight: 500; } .show-sistema { color: #b83535 !important; font-weight: 500; } .show-numeros { color: red !important; } .show-ajava { color: #027e3a !important; font-weight: 500; } .show-sobre { color: #2e2e2e !important; font-style: italic; font-weight: 400; } .show-met { color: #8a135c !important; font-weight: 500; } .show-retorno { color: black !important; font-weight: 600; } .show-json { color: #004bd6 !important; } .show-error { color: red !important; } .show-llamadas { color: #8a135c !important; font-weight: 400; } .show-var { color: #00757e !important; font-weight: 500; } .show-c { color: #ca1b1b !important; font-weight: 500; } .show-inc { color: #fc0000 !important; font-weight: 600; } /*# sourceMappingURL=tema-claro.css.map */