Dantes (обсуждение | вклад) Нет описания правки Метка: отменено |
Dantes (обсуждение | вклад) Нет описания правки Метка: отменено |
||
| Строка 1: | Строка 1: | ||
$(function() { | $(function() { | ||
document.body.style.backgroundColor = "# | document.body.style.backgroundColor = "#121212"; | ||
document.body.style.color = "# | document.body.style.color = "#e0e0e0"; | ||
$("table").css({ | $("table").css({ | ||
| Строка 7: | Строка 7: | ||
"border-radius": "12px", | "border-radius": "12px", | ||
"overflow": "hidden", | "overflow": "hidden", | ||
"box-shadow": "0 2px 6px rgba(0,0,0,0. | "box-shadow": "0 2px 6px rgba(0,0,0,0.6)" | ||
}); | }); | ||
$("table tr:nth-child(even)").css("background-color", "# | $("table tr:nth-child(even)").css("background-color", "#1e1e1e"); | ||
$("table tr:nth-child(odd)").css("background-color", "# | $("table tr:nth-child(odd)").css("background-color", "#2a2a2a"); | ||
$("table th").css({ | $("table th").css({ | ||
"background-color": "# | "background-color": "#333333", | ||
"color": " | "color": "#ffffff", | ||
"padding": "8px" | "padding": "8px" | ||
}); | }); | ||
$("table td").css({ | $("table td").css({ | ||
"padding": "6px 10px" | "padding": "6px 10px", | ||
"color": "#e0e0e0" | |||
}); | }); | ||
$("a").css({ | $("a").css({ | ||
"color": "# | "color": "#8ab4f8", | ||
"text-decoration": "none", | "text-decoration": "none", | ||
"transition": "color 0.3s" | "transition": "color 0.3s" | ||
}).hover( | }).hover( | ||
function() { $(this).css("color", "# | function() { $(this).css("color", "#f28b82"); }, | ||
function() { $(this).css("color", "# | function() { $(this).css("color", "#8ab4f8"); } | ||
); | ); | ||
$("h1, h2, h3").css({ | $("h1, h2, h3").css({ | ||
"color": "# | "color": "#ffffff", | ||
"border-bottom": "2px solid # | "border-bottom": "2px solid #333333", | ||
"padding-bottom": "4px" | "padding-bottom": "4px" | ||
}); | }); | ||
$("blockquote").css({ | $("blockquote").css({ | ||
"border-left": "4px solid # | "border-left": "4px solid #8ab4f8", | ||
"padding": "6px 12px", | "padding": "6px 12px", | ||
"background-color": "# | "background-color": "#1e1e1e", | ||
"border-radius": "8px" | "border-radius": "8px", | ||
"color": "#e0e0e0" | |||
}); | }); | ||
}); | }); | ||
Версия от 19:27, 23 августа 2025
$(function() {
document.body.style.backgroundColor = "#121212";
document.body.style.color = "#e0e0e0";
$("table").css({
"border-collapse": "collapse",
"border-radius": "12px",
"overflow": "hidden",
"box-shadow": "0 2px 6px rgba(0,0,0,0.6)"
});
$("table tr:nth-child(even)").css("background-color", "#1e1e1e");
$("table tr:nth-child(odd)").css("background-color", "#2a2a2a");
$("table th").css({
"background-color": "#333333",
"color": "#ffffff",
"padding": "8px"
});
$("table td").css({
"padding": "6px 10px",
"color": "#e0e0e0"
});
$("a").css({
"color": "#8ab4f8",
"text-decoration": "none",
"transition": "color 0.3s"
}).hover(
function() { $(this).css("color", "#f28b82"); },
function() { $(this).css("color", "#8ab4f8"); }
);
$("h1, h2, h3").css({
"color": "#ffffff",
"border-bottom": "2px solid #333333",
"padding-bottom": "4px"
});
$("blockquote").css({
"border-left": "4px solid #8ab4f8",
"padding": "6px 12px",
"background-color": "#1e1e1e",
"border-radius": "8px",
"color": "#e0e0e0"
});
});