19.11.2017, 14:55
Chciałem zmienić padding w shoutboxie ale nie chce wejść. Próbowałem usuwać i dodawać nowe .css ale to nic nie dało ;-;
Poniżej daje kod shoutboxa zmienionego ale nie działa na stronie.
Poniżej daje kod shoutboxa zmienionego ale nie działa na stronie.
Kod PHP:
#shoutbox { margin-bottom: 10px;}
#shoutbox .head { padding: 8px; }
#shoutbox.front .head { cursor: pointer; background: #0f1017; color: #ffffff; padding: 17px 10px; font-size: 15px; text-transform: uppercase; overflow: hidden; border-radius: 10px 10px 0 0; }
#shoutbox .head .right { float: right; margin: 0; font-size: 13px; }
#shoutbox.collapsed .head { opacity: 0.9; }
#shoutbox.collapsed .body { display: none; }
#shoutbox input.text { margin: 0; padding: 10px 8px; width: 100%; box-sizing: border-box; border: none; box-shadow: inset 0 2px 4px rgba(0,0,0,0.08); font-size: 13px; background: #111; color: #ccc; }
#shoutbox .minposts, #shoutbox .blocked { padding: 6px; font-size: 13px; }
#shoutbox .panel.minposts { background: #FFFED8; color: #727250; }
#shoutbox .panel.blocked { background: #FCEFEF; color: #543A3A; }
#shoutbox .panel p { margin: 0; }
#shoutbox .window {overflow-y: scroll; background:rgba(0, 0, 0, 0.3); }
#shoutbox .data { display: table; width: 100%; font-size: 13px; }
#shoutbox.front .data { border-top: none; }
#shoutbox .entry { display: table-row !important; width: 100%; transition: background-color 0.2s; }
#shoutbox .entry:nth-child(even) { background-color: rgba(0,0,0,0.01); }
#shoutbox .entry.new { background-color: rgba(255,255,100,0.1); }
#shoutbox .entry:target { background-color: rgba(50,200,255,0.1); }
#shoutbox .entry > div { border-bottom: 1px solid #000;}
#shoutbox .entry:last-child > div { border-bottom: none; }
#shoutbox .entry > div { display: table-cell; padding: 10px; }
#shoutbox .avatar img {margin: 0 auto;vertical-align: middle;max-height: 20px;max-width: 20px;border: 1px solid #000;cursor: pointer;margin-bottom: -50px;border-radius: 10px;}
#shoutbox .user { text-align: left; white-space: nowrap; font-size: 14px; }
#shoutbox .text { width: 100%; color: #b9b9b9; }
#shoutbox .info { font-size: 11px; color: #AAA; white-space: nowrap; text-align: right; }
#shoutbox .entry.unread .info:before { display: inline-block; position: relative; top: -2px; margin-right: 10px; height: 4px; width: 4px; content: ''; background: rgba(255,100,0,0.8); border-radius: 10px; }
#shoutbox .info a { color: inherit; }
#shoutbox .mod { padding: 6px 8px; font-size: 9px; font-weight: bold; color: #AAA; text-decoration: none; }
#shoutbox .mod:nth-of-type(2) { margin-right: 5px; border-left: solid 1px rgba(0,0,0,0.1); }
#shoutbox .ip { margin-right: 10px; color: #CECECE; }