mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 17:51:46 +02:00
docs: add balloon samples
This commit is contained in:
@@ -96,6 +96,34 @@ section.showcase > section.samplecode > pre code {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
/* Balloons sample */
|
||||
section.message-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.message-list > .message {
|
||||
display: flex;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
.message-list > .message > .nes-balloon {
|
||||
max-width: 550px;
|
||||
}
|
||||
.message-list > .message i {
|
||||
align-self: flex-end;
|
||||
}
|
||||
.message-list > .message.-left {
|
||||
align-self: flex-start;
|
||||
}
|
||||
.message-list > .message.-right {
|
||||
align-self: flex-end;
|
||||
}
|
||||
.message-list > .message.-left i {
|
||||
margin-right: 2rem;
|
||||
}
|
||||
.message-list > .message.-right i {
|
||||
margin-left: 2rem;
|
||||
}
|
||||
|
||||
/* Copied balloon */
|
||||
.nes-balloon.copied-balloon {
|
||||
position: absolute;
|
||||
|
Reference in New Issue
Block a user