<?php

abstract class Type_TitleProduct extends EnumBasic
{
  const Tp_Small  = 1;
  const Tp_Medium = 2;
  const Tp_Large  = 3;

  protected static $nickname = array(
    self::Tp_Small  => array(
      'desktop' => array(
        'font_size' => '2rem',
        'line_height' => '2.25rem'
      ),
      'tablet' => array(
        'font_size' => '1.5rem',
        'line_height' => '1.75rem'
      ),
      'mobile' => array(
        'font_size' => '1.5rem',
        'line_height' => '1.75rem'
      ),
    ),
    self::Tp_Medium =>array(
      'desktop' => array(
        'font_size' => '2.5rem',
        'line_height' => '2.75rem'
      ),
      'tablet' => array(
        'font_size' => '2rem',
        'line_height' => '2.25rem'
      ),
      'mobile' => array(
        'font_size' => '1.5rem',
        'line_height' => '1.75rem'
      ),
    ),
    self::Tp_Large =>array(
      'desktop' => array(
        'font_size' => '3rem',
        'line_height' => '3.25rem'
      ),
      'tablet' => array(
        'font_size' => '2rem',
        'line_height' => '2.25rem'
      ),
      'mobile' => array(
        'font_size' => '1.5rem',
        'line_height' => '1.75rem'
      ),
    )
  );
}

abstract class Type_TitlePage extends EnumBasic
{
  const Tp_Small  = 1;
  const Tp_Medium = 2;
  const Tp_Large  = 3;

  protected static $nickname = array(
    self::Tp_Small  => array(
      'desktop' => array(
        'font_size' => '1.25rem',
        'line_height' => '1.5rem'
      ),
      'tablet' => array(
        'font_size' => '1.25rem',
        'line_height' => '1.5rem'
      ),
      'mobile' => array(
        'font_size' => '1.25rem',
        'line_height' => '1.5rem'
      ),
    ),
    self::Tp_Medium =>array(
      'desktop' => array(
        'font_size' => '1.5rem',
        'line_height' => '1.75rem'
      ),
      'tablet' => array(
        'font_size' => '1.5rem',
        'line_height' => '1.75rem'
      ),
      'mobile' => array(
        'font_size' => '1.25rem',
        'line_height' => '1.5rem'
      ),
    ),
    self::Tp_Large =>array(
      'desktop' => array(
        'font_size' => '2rem',
        'line_height' => '2.25rem'
      ),
      'tablet' => array(
        'font_size' => '1.5rem',
        'line_height' => '1.75rem'
      ),
      'mobile' => array(
        'font_size' => '1.25rem',
        'line_height' => '1.5rem'
      ),
    )
  );
}

abstract class Type_TitleAside extends EnumBasic
{
  const Tp_Small  = 1;
  const Tp_Medium = 2;
  const Tp_Large  = 3;

  protected static $nickname = array(
    self::Tp_Small  => array(
      'desktop' => array(
        'font_size' => '1rem',
        'line_height' => '1.25rem'
      ),
      'tablet' => array(
        'font_size' => '1rem',
        'line_height' => '1.25rem'
      ),
      'mobile' => array(
        'font_size' => '1rem',
        'line_height' => '1.25rem'
      ),
    ),
    self::Tp_Medium =>array(
      'desktop' => array(
        'font_size' => '1.125rem',
        'line_height' => '1.375rem'
      ),
      'tablet' => array(
        'font_size' => '1.125rem',
        'line_height' => '1.375rem'
      ),
      'mobile' => array(
        'font_size' => '1rem',
        'line_height' => '1.25rem'
      ),
    ),
    self::Tp_Large =>array(
      'desktop' => array(
        'font_size' => '1.25rem',
        'line_height' => '1.5rem'
      ),
      'tablet' => array(
        'font_size' => '1.125rem',
        'line_height' => '1.375rem'
      ),
      'mobile' => array(
        'font_size' => '1rem',
        'line_height' => '1.25rem'
      ),
    )
  );
}