انگلیسی OFL کد و یکنوا

Roboto Mono

فونت Roboto Mono از خانواده فونت‌های یکنواخت (مونو) است و عرض یکسان همه حروف، تراز کدها و جداول را بی‌نقص نگه می‌دارد. برای نمایش کد، ترمینال و بخش‌های فنی سایت بهترین انتخاب است و خوانایی حروف شبیه‌هم را تضمین می‌کند.

طراح: جامعه متن‌باز ۶۵ دانلود ۲۹۸ بازدید 7 وزن فرمت ttf + woff + woff2 مناسب کد و ترمینال مناسب طراحی مدرن

پیش‌نمایش زنده

کد آماده استفاده (فایل CSS + @font-face)

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-100.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-100.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-100.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-200.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-200.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-200.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-300.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-300.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-400.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-500.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-600.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-700.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RadikalWP-robotomono';
  src: url('/assets/fonts/roboto-mono/roboto-mono-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
روش استفاده: فایل‌های فونت را در پوشه fonts/ پروژه‌تان قرار دهید، کد بالا را در فایل CSS خود کپی کنید (مسیر url() را با مسیر واقعی فایل‌ها تنظیم کنید)، سپس با font-family: 'RadikalWP-robotomono'; فونت را اعمال کنید. در فایل ZIP دانلودی، فایل آماده font-face.css و راهنمای فارسی هم وجود دارد.

فایل‌های فونت

roboto-mono-100.ttf
وزن ۱۰۰ — باریک ۳۴ KB
roboto-mono-100.woff
وزن ۱۰۰ — باریک ۲۱ KB
roboto-mono-100.woff2
وزن ۱۰۰ — باریک ۱۷ KB
roboto-mono-200.ttf
وزن ۲۰۰ — بسیار سبک ۳۴ KB
roboto-mono-200.woff
وزن ۲۰۰ — بسیار سبک ۲۲ KB
roboto-mono-200.woff2
وزن ۲۰۰ — بسیار سبک ۱۷ KB
roboto-mono-300.ttf
وزن ۳۰۰ — سبک ۳۴ KB
roboto-mono-300.woff
وزن ۳۰۰ — سبک ۲۱ KB
roboto-mono-300.woff2
وزن ۳۰۰ — سبک ۱۷ KB
roboto-mono-400.ttf
وزن ۴۰۰ — معمولی ۳۳ KB
roboto-mono-400.woff
وزن ۴۰۰ — معمولی ۲۱ KB
roboto-mono-400.woff2
وزن ۴۰۰ — معمولی ۱۷ KB
roboto-mono-500.ttf
وزن ۵۰۰ — متوسط ۳۳ KB
roboto-mono-500.woff
وزن ۵۰۰ — متوسط ۲۱ KB
roboto-mono-500.woff2
وزن ۵۰۰ — متوسط ۱۷ KB
roboto-mono-600.ttf
وزن ۶۰۰ — نیمه‌بولد ۳۳ KB
roboto-mono-600.woff
وزن ۶۰۰ — نیمه‌بولد ۲۱ KB
roboto-mono-600.woff2
وزن ۶۰۰ — نیمه‌بولد ۱۷ KB
roboto-mono-700.ttf
وزن ۷۰۰ — بولد ۳۳ KB
roboto-mono-700.woff
وزن ۷۰۰ — بولد ۲۱ KB
roboto-mono-700.woff2
وزن ۷۰۰ — بولد ۱۷ KB