freettrpg/charackters/styles.css
2024-07-02 10:46:09 +02:00

81 lines
1.3 KiB
CSS

/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background: #f5f5f5 url("../assets/background.jpg") no-repeat fixed center;
background-size: cover;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
h1,
h2,
h3{
margin: 10px 0 10px;
padding: 10px 0 10px;
}
/* Basic styling for the character sheet */
.character-sheet {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: #f0f0f0;
border: 1px solid #ccc;
border-radius: 5px;
font-family: Arial, sans-serif;
}
.character-sheet h1 {
text-align: center;
margin-bottom: 20px;
}
.section {
margin-bottom: 20px;
}
.section h2 {
border-bottom: 1px solid #ccc;
padding-bottom: 5px;
margin-bottom: 10px;
}
.section ul, .section table {
list-style-type: none;
padding: 0;
}
.section ul li {
margin-bottom: 5px;
}
.section table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.section table th, .section table td {
padding: 8px;
text-align: left;
border: 1px solid #ccc;
}
.character-picture {
text-align: center;
margin-bottom: 20px;
}
.character-picture img {
width: 128px;
height: auto;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}