Fix(千县名品):文化的图片全部靠左显示了

This commit is contained in:
linxi
2024-08-26 16:55:16 +08:00
parent 9803c53c3b
commit 5e4f3aced6
2 changed files with 23 additions and 26 deletions
+19 -22
View File
@@ -2,30 +2,22 @@
@primary-color: #C52733;
@dark-color: #333333;
@white-color: #fff;
@colors: #C52733, #333333, #fff;
@classnames: primary, dark, white;
/*=====================================*/
.v12-primary{
background-color: @primary-color;
background: @primary-color;
}
.v12-primary-text{
color: @primary-color;
}
.v12-dark{
background: @dark-color !important;
background-color: @dark-color !important;
}
.v12-dark-text{
color: @dark-color !important;
}
.v12-white{
background-color: @white-color;
background: @white-color;
}
.v12-white-color{
background-color: @white-color;
background: @white-color;
}
each(@colors, {
@color: extract(@colors, @index);
@classname: extract(@classnames, @index);
.v12-@{classname} {
background-color: @color !important;
background: @color !important;
}
.v12-@{classname}-text{
color: @color !important;
}
});
.generateFontSize(@i) when (@i <= 80) {
.v12-font-@{i} {
@@ -48,6 +40,11 @@
display: flex;
justify-content: center;
}
.v12-d-grid-columns-2 {
display: grid;
grid-template-columns: 1fr 1fr;
}