Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python
5.5 KB
Raw Blame
---
---

@import "{{ site.theme }}";

// Custom colors
:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --dark-bg: #1f2937;
  --light-bg: #f9fafb;
}

// Override theme colors
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 3rem 1rem;
}

.site-footer {
  background: var(--dark-bg);
  color: #e5e7eb;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

// Logo in header
.project-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

// Navigation cards
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.card h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card .btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.card .btn:hover {
  opacity: 0.9;
}

// Feature badges
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0.25rem;
}

.badge-new {
  background: var(--success-color);
  color: white;
}

.badge-beta {
  background: var(--warning-color);
  color: white;
}

// Screenshots
img[src*="screenshots"] {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}

// Code blocks
pre {
  background: #1f2937;
  color: #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid #374151;
}

code {
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--primary-color);
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

// Tables
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}

th {
  background: var(--light-bg);
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
}

td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover {
  background: #f9fafb;
}

// Alerts and callouts
.note, .warning, .tip {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 4px solid;
}

.note {
  background: #eff6ff;
  border-color: var(--primary-color);
  color: #1e40af;
}

.warning {
  background: #fef3c7;
  border-color: var(--warning-color);
  color: #92400e;
}

.tip {
  background: #d1fae5;
  border-color: var(--success-color);
  color: #065f46;
}

// Sidebar navigation
.sidebar {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.sidebar h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.sidebar a {
  color: #6b7280;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.sidebar a:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

.sidebar a.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

// Feature list
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: flex-start;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li:before {
  content: "✓";
  color: var(--success-color);
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

// Responsive design
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .page-header {
    padding: 2rem 1rem;
  }
  
  .project-name {
    font-size: 1.75rem;
  }
}

// Smooth scrolling
html {
  scroll-behavior: smooth;
}

// Better typography
.main-content {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #374151;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  color: #1f2937;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  color: #374151;
}

// Animations
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content > * {
  animation: fadeIn 0.5s ease-out;
}