Template:Story/style.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
PetraMagna (talk | contribs) mNo edit summary |
PetraMagna (talk | contribs) m [InPageEdit] |
||
Line 152: | Line 152: | ||
.story-bgm-stop-button:hover { |
.story-bgm-stop-button:hover { |
||
cursor: pointer; |
cursor: pointer; |
||
} |
|||
.story-container .audio-player { |
|||
border-radius: 5px; |
|||
} |
} |
||
Revision as of 02:33, 12 January 2024
/*
Reference examples: https://zh.moegirl.org.cn/Template:%E8%94%9A%E8%93%9D%E6%A1%A3%E6%A1%88story and https://github.com/U1805/story
Due to license incompatibilities, the template in moegirl.org.cn cannot be directly imported.
*/
.story-container {
width: 100%;
border-radius:10px;
box-shadow: 0 2px 4px lightgrey;
margin-bottom: 15px;
max-width: 720px;
}
table.story-table {
width:100%;
border-spacing:5px;
margin-top:-2px;
margin-bottom: 3px;
}
.story-profile-picture {
display: block;
width: 58px;
height: 58px;
border-radius: 50%;
overflow: hidden;
margin-top: 8px;
padding: 0;
margin-left: 3px;
}
.story-profile-picture img {
margin-left: -65px;
margin-top: -10px;
}
table.story-table td:nth-child(2) {
width: 100%;
box-sizing: border-box;
padding-left: 5px;
}
.story-student-line-container {
float: left;
}
.story-sensei-line-container {
float: right;
}
.story-student-line-container, .story-sensei-line-container {
max-width: 90%;
}
.story-student-name {
font-size: 20px;
font-weight: bold;
line-height: 1.3;
padding-top: 3px;
}
.story-student-affiliation {
padding-left: 10px;
font-size: 15px;
font-weight: bold;
line-height: 1;
color: darkblue;
}
.story-student-line {
background: #4b5a6f;
color:white;
}
.story-sensei-line {
background: #4a8ac6;
margin-right: 3px;
}
.story-student-line, .story-sensei-line, .story-info-container {
border-radius: 7px;
padding: 6px 8px 6px 8px;
color: white;
font-size: 15px;
font-weight: 500;
}
.story-reply-container {
float: right;
width: 100%;
max-width: 800px;
box-sizing: border-box;
border: 1px solid #cdd3dc;
border-radius: 10px;
padding: 10px 10px 3px 10px;
margin-right: 3px;
}
.story-reply-container {
background: #E2EDF1;
}
.story-reply-header {
border-left: 2px solid;
padding-left: 5px;
}
.story-reply-header {
border-color: #3493f9;
}
.story-reply-option {
border: none;
margin-bottom: 5px;
margin-top: 5px;
padding: 5px;
box-sizing: border-box;
width: 100%;
text-align: center;
text-decoration: none;
display: inline-block;
border-radius: 10px;
box-shadow: 0 2px 5px lightgrey;
transition: background-color ease-in-out .3s;
}
.story-reply-option {
background-color: #fff;
color: #2a323e;
}
.story-reply-option:hover {
cursor: pointer;
transition: background-color ease-in-out .3s;
}
.story-reply-option:hover {
background-color: lightgrey;
color: #2a323e;
}
.story-hidden-student-text {
display: none;
}
div.story-selected-option {
background-color: #777;
color: #fff;
}
div.story-selected-option:hover {
background-color: #777;
color: #fff;
}
.story-background-image-container {
width: 100%;
}
.story-background-image img {
width: 100%;
height: auto;
max-width: 600px;
border-radius: 5px;
}
.story-bgm-stop-button {
font-size: large;
}
.story-bgm-stop-button:hover {
cursor: pointer;
}
.story-container .audio-player {
border-radius: 5px;
}
.story-info-container {
background-color: #222;
text-align: center;
}