Split style and css code

This commit is contained in:
2026-01-29 22:00:24 +01:00
parent 3b943a4a72
commit 87da77584f
3 changed files with 152 additions and 37 deletions
+64
View File
@@ -0,0 +1,64 @@
/* Styles for WordPress Activity Stats Plugin - Frontend Shortcodes */
/* Shortcode [moje_statystyki] */
.mystats-shortcode-container table {
width: 100%;
border-collapse: collapse;
margin-bottom: 2em;
}
.mystats-shortcode-container th,
.mystats-shortcode-container td {
padding: 8px 12px;
border: 1px solid #ddd;
text-align: left;
}
.mystats-shortcode-container th {
background-color: #f4f4f4;
}
.mystats-activity-table td:nth-child(4),
.mystats-activity-table td:nth-child(5) {
text-align: right;
}
/* Shortcode [moje_statystyki_wpis] */
.mystat-single-activity-shortcode {
border: 1px solid #eee;
padding: 15px;
margin-bottom: 1.5em;
border-radius: 5px;
background: #f9f9f9;
}
.mystat-single-activity-shortcode h4 {
margin-top: 0;
}
.mystat-single-activity-shortcode p em {
color: #777;
font-size: 0.9em;
}
.mystat-single-columns-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
margin-bottom: 15px;
}
.mystat-single-col {
flex: 1;
min-width: 240px;
}
.mystat-single-summary-table {
width: 100%;
border-collapse: collapse;
}
.mystat-single-summary-table th,
.mystat-single-summary-table td {
padding: 4px 0;
border: none;
text-align: left;
vertical-align: top;
}
.mystat-single-summary-table th {
font-weight: bold;
padding-right: 1em;
white-space: nowrap;
width: 1%;
}