JupyShare/static/style.css
2025-06-23 16:52:42 +02:00

234 lines
3.4 KiB
CSS

/* Reset defaults */
.body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f7f7f7;
color: #333333;
line-height: 1.5;
}
.main {
max-width: 80vw;
margin: 20px auto;
padding: 15px;
padding-top: 0px;
background-color: white;
border: 1px solid #e0e0e0;
border-radius: 2px;
box-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
i {
color: #ffD43b;
}
.a {
color: #007bff;
text-decoration: none;
transition: color 0.15s ease-in-out;
font-size: 1rem;
}
.a:hover {
color: #0056b3;
text-decoration: underline;
}
hr {
margin: 10px 0;
margin-bottom: 15px;
padding: 0;
}
/* Navbar */
.navbar {
position: sticky;
top: 0;
width: 100%;
background-color: white;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
z-index: 1000;
padding: 15px 0;
}
.navbar img {
height: 68px;
width: auto;
}
.navbar-container {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.navbar-middle {
display: flex;
flex-direction: row;
align-items: center;
font-size: 14px;
font-weight: 500;
color: #333;
}
.navbar-right {
background-color: #f0f0f0;
padding: 8px 15px;
border-radius: 4px;
font-size: 14px;
border: 1px solid #ddd;
}
/* Breadcrum */
.breadcrumb {
display: flex;
flex-wrap: wrap;
padding: 0.75rem 1rem;
margin: 0;
list-style: none;
}
.breadcrumb-item {
display: flex;
align-items: center;
}
.breadcrumb-item:not(:last-child) + .breadcrumb-item::before {
display: inline-block;
padding: 0 0.25rem;
color: #6c757d;
content: "→";
}
.breadcrumb-item:last-child {
color: #495057;
pointer-events: none;
}
.breadcrumb-item.active {
color: #6c757d;
pointer-events: none;
cursor: default;
}
nav[aria-label="breadcrumb"] {
margin: 1rem 0;
}
/* Shared */
.row {
display: flex;
flex-direction: column;
}
.row h3 {
padding: 0 15px;
font-size: 1.4rem;
margin-top: 0;
}
.row a {
font-size: 1.1rem;
}
.notebook-header {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 1.5rem;
margin: 15px;
}
/* Card */
.card-container {
display: flex;
justify-content: center;
align-items: center;
}
.card {
width: 100%;
border: 1px solid #6c757d;
border-radius: 2px;
margin: 10px;
padding: 15px 25px;
display: flex;
align-items: center;
justify-content: space-between;
}
.card-stats {
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
}
.card-stats p {
margin: 0;
padding: 0;
}
/* Buttons */
.buttons {
display: flex;
flex-direction: row;
justify-content: right;
align-items: center;
gap: 20px;
}
.button {
padding: 5px 10px;
border-radius: 5px;
color: white;
text-decoration: none;
transition: all 0.3 ease;
}
.button:hover {
text-decoration: none;
color: white;
}
.button i {
color: white;
}
.view-button {
background-color: blue;
}
.download-button {
background-color: grey;
}
/* Error */
.error {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.error h1 {
font-size: 3rem;
}
.error strong {
font-size: 1.5rem;
}
.error i {
color: red;
font-size: 8rem;
}