@@ -1046,141 +1046,6 @@ a.label,
1046
1046
box-shadow : -1px -1px 0 0 var (--color-secondary );
1047
1047
}
1048
1048
1049
- /* Below styles are a skeleton of the full fomantic styles which */
1050
- /* are needed to get all current uses of fomantic cards working */
1051
- /* TODO: remove all these styles and use custom styling instead */
1052
-
1053
- .ui .card : last-child {
1054
- margin-bottom : 0 ;
1055
- }
1056
- .ui .card : first-child {
1057
- margin-top : 0 ;
1058
- }
1059
-
1060
- .ui .cards > .card ,
1061
- .ui .card {
1062
- display : flex;
1063
- flex-direction : column;
1064
- max-width : 100% ;
1065
- width : 290px ;
1066
- min-height : 0 ;
1067
- padding : 0 ;
1068
- background : var (--color-card );
1069
- border : 1px solid var (--color-secondary );
1070
- box-shadow : none;
1071
- word-wrap : break-word;
1072
- }
1073
-
1074
- .ui .card {
1075
- margin : 1em 0 ;
1076
- }
1077
-
1078
- .ui .cards {
1079
- display : flex;
1080
- margin : -0.875em -0.5em ;
1081
- flex-wrap : wrap;
1082
- }
1083
-
1084
- .ui .cards > .card {
1085
- display : flex;
1086
- margin : 0.875em 0.5em ;
1087
- float : none;
1088
- }
1089
-
1090
- .ui .cards > .card > .content ,
1091
- .ui .card > .content {
1092
- border-top : 1px solid var (--color-secondary );
1093
- max-width : 100% ;
1094
- padding : 1em ;
1095
- font-size : 1em ;
1096
- }
1097
-
1098
- .ui .cards > .card > .content > .meta + .description ,
1099
- .ui .cards > .card > .content > .header + .description ,
1100
- .ui .card > .content > .meta + .description ,
1101
- .ui .card > .content > .header + .description {
1102
- margin-top : .5em ;
1103
- }
1104
-
1105
- .ui .cards > .card > .content > .header : not (.ui ),
1106
- .ui .card > .content > .header : not (.ui ) {
1107
- font-weight : 500 ;
1108
- font-size : 1.28571429em ;
1109
- margin-top : -.21425em ;
1110
- line-height : 1.28571429em ;
1111
- }
1112
-
1113
- .ui .cards > .card > .content : first-child ,
1114
- .ui .card > .content : first-child {
1115
- border-top : none;
1116
- border-radius : var (--border-radius ) var (--border-radius ) 0 0 ;
1117
- }
1118
-
1119
- .ui .cards > .card > : last-child ,
1120
- .ui .card > : last-child {
1121
- border-radius : 0 0 var (--border-radius ) var (--border-radius );
1122
- }
1123
-
1124
- .ui .cards > .card > : only-child ,
1125
- .ui .card > : only-child {
1126
- border-radius : var (--border-radius ) !important ;
1127
- }
1128
-
1129
- .ui .cards > .card > .extra ,
1130
- .ui .card > .extra ,
1131
- .ui .cards > .card > .extra a : not (.ui ),
1132
- .ui .card > .extra a : not (.ui ) {
1133
- color : var (--color-text );
1134
- }
1135
-
1136
- .ui .cards > .card > .extra a : not (.ui ): hover ,
1137
- .ui .card > .extra a : not (.ui ): hover {
1138
- color : var (--color-primary );
1139
- }
1140
-
1141
- .ui .cards > .card > .content > .header ,
1142
- .ui .card > .content > .header {
1143
- color : var (--color-text );
1144
- }
1145
-
1146
- .ui .cards > .card > .content > .description ,
1147
- .ui .card > .content > .description {
1148
- color : var (--color-text );
1149
- }
1150
-
1151
- .ui .cards > .card .meta > a : not (.ui ),
1152
- .ui .card .meta > a : not (.ui ) {
1153
- color : var (--color-text-light-2 );
1154
- }
1155
-
1156
- .ui .cards > .card .meta > a : not (.ui ): hover ,
1157
- .ui .card .meta > a : not (.ui ): hover {
1158
- color : var (--color-text );
1159
- }
1160
-
1161
- .ui .cards a .card : hover ,
1162
- a .ui .card : hover {
1163
- border : 1px solid var (--color-secondary );
1164
- background : var (--color-card );
1165
- }
1166
-
1167
- .ui .cards > .card > .extra ,
1168
- .ui .card > .extra {
1169
- color : var (--color-text );
1170
- border-top-color : var (--color-secondary-light-1 ) !important ;
1171
- }
1172
-
1173
- .ui .three .cards {
1174
- margin-left : -1em ;
1175
- margin-right : -1em ;
1176
- }
1177
-
1178
- .ui .three .cards > .card {
1179
- width : calc (33.33333333333333% - 2em );
1180
- margin-left : 1em ;
1181
- margin-right : 1em ;
1182
- }
1183
-
1184
1049
.ui .comments .comment .text {
1185
1050
margin : 0 ;
1186
1051
}
0 commit comments