Section Col-3 Last Border-Right None +++

Kategori

<section class="anaciklama hidden-xs m-0">
    @{
        int card91Col = 3;
        int card91Row = 1;
        int card91CategoryOrderNumber = 14;

        if (Partial.isCategoryOrderNumber(card91CategoryOrderNumber))
        {
            IEnumerable<Category>
                card91Category = Partial.CategorySubOrderNumber(card91CategoryOrderNumber, lang);
            Category card91categorytitle = Partial.Category(card91CategoryOrderNumber, lang);
            int card91Count = Convert.ToInt32(Math.Ceiling(card91Category.Count() / Convert.ToDouble(card91Col)));
            int cizginoo = 0;
            <div class="container">
                <div class="row">
                    <div class="col-sm-12 text-center">
                        <h1>"@card91categorytitle.CategoryTitle.HtmlEncode()"</h1>
                    </div>
                </div>
                <div class="row">
                    @for (int componen = 0; componen < card91Row; componen++)
                    {
                        foreach (Category comCategory in card91Category.Skip(componen * card91Row).Take(card91Col))
                        {
                            cizginoo++;
                            string cizgi = "";
                            if (cizginoo == 1 || cizginoo == 2)
                            {
                                cizgi = "bordercizgi";
                            }
                            <div class="col-sm-4">
                                <p class="nobor @cizgi"><span style="text-transform:uppercase;">@comCategory.CategoryTitle.HtmlEncode()</span>; @Partial.CategoryShortContent(comCategory.CategoryID, 140)</p>
                            </div>
                        }
                    }
                </div>
            </div>
        }
    }
</section>

Makale

<section class="anaciklama hidden-xs m-0">
    @{
        int card82Col = 3;
        int card82Row = 1;
        int card82categoryOrderNumber = 3;
        int cizgino = 0;

        if (Partial.isCategoryOrderNumber(card82categoryOrderNumber))
        {
            Category categorytitle = Partial.Category(card82categoryOrderNumber, lang);

            IEnumerable<Post>
            card82PostsOrderNumber = Partial.PostsOrderNumber(card82categoryOrderNumber, 0, card82Col * card82Row, Partial.Order.OrderBy, true, lang);

            int card82Count = Convert.ToInt32(Math.Ceiling(card82PostsOrderNumber.Count() / Convert.ToDouble(card82Col)));
            <div class="container">
                <div class="row">
                    <div class="col-sm-12 text-center">
                        <h1>"@categorytitle.CategoryTitle.HtmlEncode()"</h1>
                    </div>
                </div>
                <div class="row">
                    @for (int componen = 0; componen < card82Count; componen++)
                    {

                        foreach (Post comPost in card82PostsOrderNumber.Skip(componen * card82Col).Take(card82Col))
                        {
                            cizgino++;
                            string cizgi = "";
                            if (cizgino == 1 || cizgino == 2)
                            {
                                cizgi = "bordercizgi";
                            }
                            <div class="col-sm-4">
                                <p class="nobor @cizgi"><span style="text-transform:uppercase;">@comPost.PostTitle.HtmlEncode()</span>; @Partial.PostShortContent(comPost.PostID, 140)</p>
                            </div>
                        }
                    }
                </div>
            </div>
        }
    }
</section>

CSS

.anaciklama {
        color: #666666;
        margin-bottom: 60px;
        font-weight: 400;
        font-family: 'Titillium Web', sans-serif;
        background-color: #eee;
    }

        .anaciklama h1 {
            font-size: 36px;
            margin-top: 20px;
            margin-bottom: 60px;
        }

    .bordercizgi {
        border-right: 1px solid #333;
    }

    .anaciklama p {
        line-height: 1.4em;
        margin: 0 0 10px;
    }

    @@media (max-width: 575.98px) {
        .bordercizgi {
            border-right: 0px;
        }
    }

http://www.zumrutreklam.com/tr

İndex Bileşenleri