Skip to content

Commit 89e270b

Browse files
authored
Update gambit.css
1 parent 532ded6 commit 89e270b

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

assets/css/gambit.css

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,4 +948,34 @@ td {
948948
border: 1px solid var(--color-table-border);
949949
padding: 0.5rem;
950950
text-align: left;
951-
}
951+
}
952+
953+
954+
.image-box {
955+
width: 240px;
956+
padding: 0.5rem;
957+
border: 1px solid #ccc;
958+
background: #f8f8f8;
959+
}
960+
961+
.image-box.right {
962+
float: right;
963+
margin: 0 0 1rem 1.5rem;
964+
}
965+
966+
.image-box.left {
967+
float: left;
968+
margin: 0 1.5rem 1rem 0;
969+
}
970+
971+
.image-box img {
972+
display: block;
973+
max-width: 100%;
974+
height: auto;
975+
margin-bottom: 0.5rem;
976+
}
977+
978+
.image-box p {
979+
margin: 0;
980+
font-size: 0.9rem;
981+
}

0 commit comments

Comments
 (0)