Split style and css code
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
/* Styles for WordPress Activity Stats Plugin - Admin Area */
|
||||
|
||||
/* Infografika */
|
||||
.mystat-infographic-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 20px;
|
||||
}
|
||||
.mystat-infographic-card {
|
||||
background: #fff;
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 5px;
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
||||
}
|
||||
.mystat-infographic-card h3 {
|
||||
margin-top: 0;
|
||||
color: #555;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.mystat-infographic-card p {
|
||||
font-size: 1.8em;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Kontener dla szczegółów aktywności */
|
||||
#mystat-details-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 2%;
|
||||
}
|
||||
/* Szczegóły aktywności */
|
||||
.mystat-details-col {
|
||||
flex: 1 1 48%; /* Pozwala na elastyczne dopasowanie, z bazową szerokością 48% */
|
||||
min-width: 300px; /* Zapobiega zbytniemu ściskaniu kolumn na mniejszych ekranach */
|
||||
}
|
||||
Reference in New Issue
Block a user