writer-app / academic_style.css
NealCaren's picture
Create academic_style.css
38de6eb verified
/* General body styling */
body {
font-family: "Georgia", "Times New Roman", serif;
background-color: #f9f9f9;
color: #333;
margin: 0;
padding: 0;
line-height: 1.6;
}
/* Header styling */
h1, h2, h3 {
font-family: "Merriweather", "Georgia", serif;
color: #00274d; /* Dark academic blue */
text-align: center;
margin-bottom: 20px;
}
h1 {
font-size: 2.5rem;
text-transform: uppercase;
border-bottom: 2px solid #00274d;
padding-bottom: 10px;
}
/* Markdown content */
.gr-block-markdown {
font-size: 1rem;
line-height: 1.8;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
/* Input fields */
.gr-textbox {
font-family: "Arial", sans-serif;
font-size: 1rem;
padding: 12px;
border: 1px solid #ddd;
border-radius: 5px;
width: 100%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
transition: border 0.3s ease;
}
.gr-textbox:focus {
border: 1px solid #00274d;
outline: none;
box-shadow: 0 0 4px rgba(0, 39, 77, 0.2);
}
/* Buttons */
.gr-button-primary {
font-family: "Merriweather", "Georgia", serif;
font-size: 1rem;
font-weight: bold;
background-color: #004085; /* Academic dark blue */
color: #fff;
border: none;
border-radius: 5px;
padding: 10px 20px;
cursor: pointer;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease, transform 0.2s ease;
}
.gr-button-primary:hover {
background-color: #00274d;
transform: scale(1.05);
}
/* Layout adjustments */
.gr-block {
margin-bottom: 20px;
padding: 15px;
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.gr-row {
display: flex;
gap: 20px;
align-items: flex-start;
}
/* Output styling */
.gr-markdown {
font-family: "Georgia", "Times New Roman", serif;
font-size: 1.1rem;
line-height: 1.8;
color: #333;
padding: 20px;
background: #f5f5f5;
border-radius: 8px;
border-left: 4px solid #004085;
}
/* Footer or progress bar */
.gr-progress {
background-color: #e9ecef;
border-radius: 5px;
overflow: hidden;
}
.gr-progress-bar {
background-color: #004085;
height: 10px;
transition: width 0.3s ease;
}
/* Links */
a {
color: #0056b3;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
a:hover {
color: #00376d;
}