mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-03 08:41:59 +02:00
Docs: replace CSS by utilities in examples (#35699)
* Drop .opacity-50 and .opacity-75 redefinition in examples * Drop unused .card-img-right from blog example CSS files * Use line-height utilities when possible * Use rounded-* utilities in examples * Replace .nav-underline by .nav-scroller and use it in examples.html default * Use .mb-1 for .blog-post-title * Remove unused CSS rule and use .fw-* utilities for carousels examples * Use utilities for cheatsheet examples * Extract some CSS to utilities for .nav-masthead .nav-link in cover example * Dashboard group of minor modifications * Dropdowns example: refactoring * Dropdowns example refactoring: fix linting by removing selector by id * Features example refactoring * Headers example refactoring * List groups example refactoring * Sidebars example refactoring * Sign-in example refactoring * Starter template refactoring * Fix RTL examples Co-authored-by: Mark Otto <markd.otto@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include_js: false
|
||||
---
|
||||
|
||||
<div class="container">
|
||||
<header class="blog-header py-3">
|
||||
<header class="blog-header lh-1 py-3">
|
||||
<div class="row flex-nowrap justify-content-between align-items-center">
|
||||
<div class="col-4 pt-1">
|
||||
<a class="link-secondary" href="#">الإشتراك في النشرة البريدية</a>
|
||||
@@ -91,7 +91,7 @@ include_js: false
|
||||
</h3>
|
||||
|
||||
<article class="blog-post">
|
||||
<h2 class="blog-post-title">مثال على تدوينة</h2>
|
||||
<h2 class="blog-post-title mb-1">مثال على تدوينة</h2>
|
||||
<p class="blog-post-meta">1 يناير 2021 بواسطة <a href="#"> Mark </a></p>
|
||||
|
||||
<p>تعرض مشاركة المدونة هذه بضعة أنواع مختلفة من المحتوى الذي يتم دعمه وتصميمه باستخدام Bootstrap. النصوص الأساسية، الصور، والأكواد مدعومة بشكل كامل.</p>
|
||||
@@ -126,7 +126,7 @@ include_js: false
|
||||
</article>
|
||||
|
||||
<article class="blog-post">
|
||||
<h2 class="blog-post-title">تدوينة أخرى</h2>
|
||||
<h2 class="blog-post-title mb-1">تدوينة أخرى</h2>
|
||||
<p class="blog-post-meta">23 ديسمبر 2020 بواسطة <a href="#">Jacob</a></p>
|
||||
|
||||
<p>في الوقت الحالي، تدرس عدَّة شركات هذه الميكروبات بشكل أعمق، وتستزرعها من أجل الحصول على الغذاء. ففي عام 2019م، أعلن باحثون في شركة (Air Protein) الأمريكية نجاحهم في تحويل ثاني أكسيد الكربون الموجود في الهواء إلى لحوم صناعية مصنوعة من البروتين، التي لا تتطلَّب أي أرض زراعية، بل هي معتمدة بشكل أساسي على الهواء.</p>
|
||||
@@ -138,7 +138,7 @@ include_js: false
|
||||
</article>
|
||||
|
||||
<article class="blog-post">
|
||||
<h2 class="blog-post-title">ميزة جديدة</h2>
|
||||
<h2 class="blog-post-title mb-1">ميزة جديدة</h2>
|
||||
<p class="blog-post-meta">14 ديسمبر 2020 بواسطة <a href="#">Jacob</a></p>
|
||||
|
||||
<p>كما أن الشركة الفنلندية (Solar Foods) طوَّرت تقنية لإنتاج البروتين من الهواء، حيث تبدأ العملية بتقسيم الماء إلى مكوناته الهيدروجين والأكسجين عن طريق الكهرباء. فالهيدروجين يوفِّر الطاقة للبكتريا لتحويل ثاني أكسيد الكربون والنيتروجين الموجودين في الهواء إلى مادة عضوية غنية بالبروتين بشكل أكفأ من نمو النباتات باستخدام البناء الضوئي. وهذا البروتين يشبه دقيق القمح وقد أطلق عليه اسم "سولين" (Solein).</p>
|
||||
@@ -153,8 +153,8 @@ include_js: false
|
||||
</article>
|
||||
|
||||
<nav class="blog-pagination" aria-label="Pagination">
|
||||
<a class="btn btn-outline-primary" href="#">تدوينات أقدم</a>
|
||||
<a class="btn btn-outline-secondary disabled">تدوينات أحدث</a>
|
||||
<a class="btn btn-outline-primary rounded-pill" href="#">تدوينات أقدم</a>
|
||||
<a class="btn btn-outline-secondary rounded-pill disabled">تدوينات أحدث</a>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user