Diferencias
Muestra las diferencias entre dos versiones de la página.
| doc:tec:pc_sof:obs:css:inicio [2026/01/16 12:31] – ↷ Página movida de doc:tec:exe:obs:css:inicio a doc:tec:pc_sof:obs:css:inicio fepg | doc:tec:pc_sof:obs:css:inicio [Fecha desconocida] (actual) – editor externo (Fecha desconocida) 127.0.0.1 | ||
|---|---|---|---|
| Línea 1: | Línea 1: | ||
| + | ====== [OBS] Códigos CSS ====== | ||
| + | |||
| + | ===== CSS chat Youtube para OBS ===== | ||
| + | |||
| + | < | ||
| + | [[https:// | ||
| + | </ | ||
| + | |||
| + | - Creamos una nueva escena , por ejemplo con el nombre '' | ||
| + | - Abrimos el chat de Youtube en una ventana independiente y copiamos la dirección de esta. | ||
| + | - Añadimos a la escena una nueva fuente de '' | ||
| + | - Ajustamos el tamaño de la ventana del chat y en '' | ||
| + | |||
| + | @import url(" | ||
| + | @import url(" | ||
| + | |||
| + | /* Background colors*/ | ||
| + | body { | ||
| + | background-color: | ||
| + | } | ||
| + | |||
| + | /* Transparent background. */ | ||
| + | yt-live-chat-renderer { | ||
| + | background-color: | ||
| + | } | ||
| + | |||
| + | /* Outlines */ | ||
| + | yt-live-chat-renderer * { | ||
| + | |||
| + | font-family: | ||
| + | font-size: 40px !important; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | yt-live-chat-text-message-renderer #content, | ||
| + | yt-live-chat-legacy-paid-message-renderer #content { | ||
| + | overflow: initial; !important | ||
| + | } | ||
| + | |||
| + | /* Hide scrollbar. */ | ||
| + | yt-live-chat-item-list-renderer #items{ | ||
| + | overflow: hidden !important; | ||
| + | } | ||
| + | |||
| + | yt-live-chat-item-list-renderer # | ||
| + | overflow: hidden !important; | ||
| + | } | ||
| + | |||
| + | /* Hide header and input. */ | ||
| + | yt-live-chat-header-renderer, | ||
| + | yt-live-chat-message-input-renderer { | ||
| + | display: none !important; | ||
| + | } | ||
| + | |||
| + | /* Reduce side padding. */ | ||
| + | yt-live-chat-text-message-renderer, | ||
| + | yt-live-chat-legacy-paid-message-renderer { | ||
| + | padding-left: | ||
| + | padding-right: | ||
| + | } | ||
| + | |||
| + | yt-live-chat-paid-message-renderer #header { | ||
| + | padding-left: | ||
| + | padding-right: | ||
| + | } | ||
| + | |||
| + | /* Avatars. */ | ||
| + | yt-live-chat-text-message-renderer # | ||
| + | yt-live-chat-paid-message-renderer # | ||
| + | yt-live-chat-legacy-paid-message-renderer # | ||
| + | |||
| + | width: 50px !important; | ||
| + | height: 50px !important; | ||
| + | border-radius: | ||
| + | margin-right: | ||
| + | } | ||
| + | |||
| + | /* Hide badges. */ | ||
| + | yt-live-chat-text-message-renderer # | ||
| + | display: none !important; | ||
| + | vertical-align: | ||
| + | } | ||
| + | |||
| + | /* Timestamps. */ | ||
| + | yt-live-chat-text-message-renderer #timestamp { | ||
| + | |||
| + | color: #999999 !important; | ||
| + | font-family: | ||
| + | font-size: 16px !important; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | /* Badges. */ | ||
| + | yt-live-chat-text-message-renderer # | ||
| + | yt-live-chat-text-message-renderer yt-live-chat-author-badge-renderer[type=" | ||
| + | color: #db9600 !important; | ||
| + | } | ||
| + | |||
| + | yt-live-chat-text-message-renderer # | ||
| + | yt-live-chat-text-message-renderer yt-live-chat-author-badge-renderer[type=" | ||
| + | color: #5e84f1 !important; | ||
| + | } | ||
| + | |||
| + | yt-live-chat-text-message-renderer # | ||
| + | yt-live-chat-text-message-renderer yt-live-chat-author-badge-renderer[type=" | ||
| + | color: #0f9d58 !important; | ||
| + | } | ||
| + | |||
| + | /* Channel names. */ | ||
| + | yt-live-chat-text-message-renderer # | ||
| + | color: #f9f9f9 !important; | ||
| + | font-family: | ||
| + | font-size: 40px !important; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | yt-live-chat-text-message-renderer # | ||
| + | content: ":"; | ||
| + | margin-left: | ||
| + | } | ||
| + | |||
| + | /* Messages. */ | ||
| + | yt-live-chat-text-message-renderer #message, | ||
| + | yt-live-chat-text-message-renderer #message * { | ||
| + | color: #ffffff !important; | ||
| + | font-family: | ||
| + | font-size: 40px !important; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | /* SuperChat/ | ||
| + | yt-live-chat-paid-message-renderer # | ||
| + | yt-live-chat-paid-message-renderer # | ||
| + | yt-live-chat-legacy-paid-message-renderer # | ||
| + | yt-live-chat-legacy-paid-message-renderer #event-text * { | ||
| + | color: #009bdb !important; | ||
| + | font-family: | ||
| + | font-size: 40px !important; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | yt-live-chat-paid-message-renderer # | ||
| + | yt-live-chat-paid-message-renderer # | ||
| + | yt-live-chat-legacy-paid-message-renderer # | ||
| + | yt-live-chat-legacy-paid-message-renderer # | ||
| + | color: #ffffff !important; | ||
| + | font-family: | ||
| + | font-size: 40px !important; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | yt-live-chat-paid-message-renderer #content, | ||
| + | yt-live-chat-paid-message-renderer #content * { | ||
| + | color: #ffffff !important; | ||
| + | font-family: | ||
| + | font-size: 40px !important; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | yt-live-chat-paid-message-renderer { | ||
| + | margin: 4px 0 !important; | ||
| + | } | ||
| + | |||
| + | yt-live-chat-legacy-paid-message-renderer { | ||
| + | background-color: | ||
| + | margin: 4px 0 !important; | ||
| + | } | ||
| + | |||
| + | yt-live-chat-text-message-renderer a, | ||
| + | yt-live-chat-legacy-paid-message-renderer a { | ||
| + | text-decoration: | ||
| + | } | ||
| + | |||
| + | yt-live-chat-text-message-renderer[is-deleted], | ||
| + | yt-live-chat-legacy-paid-message-renderer[is-deleted] { | ||
| + | display: none !important; | ||
| + | } | ||
| + | |||
| + | yt-live-chat-ticker-renderer { | ||
| + | background-color: | ||
| + | box-shadow: none !important; | ||
| + | } | ||
| + | |||
| + | yt-live-chat-ticker-paid-message-item-renderer, | ||
| + | yt-live-chat-ticker-paid-message-item-renderer *, | ||
| + | yt-live-chat-ticker-sponsor-item-renderer, | ||
| + | yt-live-chat-ticker-sponsor-item-renderer * { | ||
| + | color: #ffffff !important; | ||
| + | font-family: | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | |||