- Recovered player_card.html and related templates from old server
- Required for card generation endpoints (/players/{id}/battingcard)
- Fixes TemplateNotFound errors in production
103 lines
2.0 KiB
HTML
103 lines
2.0 KiB
HTML
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: "Open Sans", sans-serif;
|
|
font-weight: 400;
|
|
<!-- margin-top: 5px;-->
|
|
<!-- margin-bottom: 5px;-->
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
<!-- background-color: red;-->
|
|
}
|
|
|
|
.row-wrapper {
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.vline {
|
|
border-left: 3px solid black;
|
|
height: 100%;
|
|
}
|
|
|
|
.header-text {
|
|
font-size: 25px;
|
|
text-align: left;
|
|
}
|
|
|
|
.column-num {
|
|
display: flex;
|
|
height: 100%;
|
|
justify-content: center;
|
|
align-items: center
|
|
}
|
|
|
|
.border-bot {
|
|
border-bottom: 3px solid black;
|
|
}
|
|
|
|
.border-right-thick {
|
|
border-right: 5px solid black
|
|
}
|
|
|
|
.border-right-thin {
|
|
border-right: 3px solid black
|
|
}
|
|
|
|
.red-gradient {
|
|
background-image: linear-gradient(to right, rgba(211, 49, 21, 1), rgba(211, 49, 21, 0.5), rgba(211, 49, 21, 1))
|
|
}
|
|
|
|
.blue-gradient {
|
|
background-image: linear-gradient(to right, rgba(0, 156, 224, 1), rgba(0, 156, 224, 0.5), rgba(0, 156, 224, 1))
|
|
}
|
|
|
|
.result {
|
|
font-family: 'Source Sans 3', sans-serif;
|
|
font-size: 26px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.result-2d6 {
|
|
position: absolute;
|
|
left: 1px;
|
|
width: 35px;
|
|
text-align: right;
|
|
}
|
|
|
|
.result-col {
|
|
position: absolute;
|
|
left: 36px;
|
|
width: 170
|
|
text-align: left;
|
|
align-items: left
|
|
}
|
|
|
|
.result-d20 {
|
|
position: absolute;
|
|
left: 124px;
|
|
width: 70px;
|
|
text-align: right;
|
|
}
|
|
|
|
.center {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
<!-- .neg-margin {-->
|
|
<!-- line-height: 1.3;-->
|
|
<!-- }-->
|
|
|
|
<!-- b {-->
|
|
<!-- font-weight: 800-->
|
|
<!-- }-->
|
|
</style> |