Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

6.9 KB
Raw Blame
/* Stirling PDF Sample Document Styles */

:root {
  /* Brand Colors */
  --brand-red: #8e3231;
  --brand-blue: #3b82f6;

  /* Category Colors */
  --color-general: #3b82f6;
  --color-security: #f59e0b;
  --color-formatting: #8b5cf6;
  --color-automation: #ec4899;

  /* Neutral Colors */
  --color-black: #111827;
  --color-gray-dark: #4b5563;
  --color-gray-medium: #6b7280;
  --color-gray-light: #e5e7eb;
  --color-gray-lighter: #f3f4f6;
  --color-white: #ffffff;

  /* Font Stack */
  --font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page Structure - A4 Dimensions */
.page {
  width: 210mm;
  height: 297mm;
  background: white;
  page-break-after: always;
  position: relative;
  overflow: hidden;
}

.page:last-child {
  page-break-after: auto;
}

/* Page 1: Hero / Cover */
.page-1 {
  background: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Decorative shapes container */
.decorative-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
}

/* Logo SVG shape - top-right */
.shape-1 {
  top: -120px;
  right: -100px;
  width: 450px;
  height: auto;
  opacity: 0.12;
}

/* Logo SVG shape - top-left */
.shape-2 {
  top: -80px;
  left: -80px;
  width: 350px;
  height: auto;
  opacity: 0.08;
}

/* Logo SVG shape - bottom-left */
.shape-3 {
  bottom: -180px;
  left: -150px;
  width: 550px;
  height: auto;
  opacity: 0.15;
}

/* Logo SVG shape - bottom-right */
.shape-4 {
  bottom: -100px;
  right: -120px;
  width: 400px;
  height: auto;
  opacity: 0.1;
}

/* Small accent shape center-right */
.shape-5 {
  top: 50%;
  right: -30px;
  width: 200px;
  height: auto;
  opacity: 0.08;
  transform: translateY(-50%);
}

.hero-content {
  text-align: center;
  padding: 60px;
  position: relative;
  z-index: 1;
}

.logo-container {
  margin-bottom: 48px;
  position: relative;
}

.hero-logo {
  width: 280px;
  height: auto;
}

.hero-tagline {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 32px;
  line-height: 1.3;
}

.hero-stats {
  margin-bottom: 40px;
}

.stat-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 48px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
}

.stat-label {
  font-size: 18px;
  color: var(--color-gray-dark);
  margin-top: 8px;
  font-weight: 500;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.feature-pill {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Page 2: What is Stirling PDF */
.page-2 {
  padding: 60px;
}

.content-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 24px;
  border-bottom: 4px solid var(--brand-red);
  padding-bottom: 16px;
}

.intro-text {
  font-size: 16px;
  color: var(--color-gray-dark);
  margin-bottom: 48px;
  line-height: 1.8;
}

.value-props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.value-prop {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-icon {
  width: 48px;
  height: 48px;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-prop h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-black);
}

.value-prop p {
  font-size: 14px;
  color: var(--color-gray-dark);
  line-height: 1.6;
}

/* Page 3: Key Features */
.page-3 {
  padding: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.feature-card {
  background: white;
  border: 2px solid var(--color-gray-light);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.feature-card[data-category="general"] {
  border-color: var(--color-general);
}

.feature-card[data-category="security"] {
  border-color: var(--color-security);
}

.feature-card[data-category="formatting"] {
  border-color: var(--color-formatting);
}

.feature-card[data-category="automation"] {
  border-color: var(--color-automation);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-icon-large {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.feature-card[data-category="general"] .feature-icon-large {
  color: var(--color-general);
}

.feature-card[data-category="security"] .feature-icon-large {
  color: var(--color-security);
}

.feature-card[data-category="formatting"] .feature-icon-large {
  color: var(--color-formatting);
}

.feature-card[data-category="automation"] .feature-icon-large {
  color: var(--color-automation);
}

.feature-icon-large svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-black);
}

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

.feature-list li {
  font-size: 14px;
  color: var(--color-gray-dark);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: bold;
}

.additional-features {
  background: white;
  border: 2px solid var(--brand-red);
  padding: 24px;
  border-radius: 12px;
  margin-top: 24px;
}

.additional-features-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.additional-features-icon {
  width: 40px;
  height: 40px;
  color: var(--brand-red);
  flex-shrink: 0;
}

.additional-features-icon svg {
  width: 100%;
  height: 100%;
}

.additional-features h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-black);
  margin: 0;
}

.additional-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.additional-features-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.additional-features-grid li {
  font-size: 15px;
  color: var(--color-gray-dark);
  padding: 4px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.additional-features-grid li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: bold;
  font-size: 18px;
}

/* Print Styles */
@media print {
  body {
    margin: 0;
    padding: 0;
  }

  .page {
    margin: 0;
    border: none;
    box-shadow: none;
  }
}