Merge branch 'wordpress' of https://github.com/Teqniksoft/LawCarta_book into wordpress

This commit is contained in:
g
2020-10-15 19:44:09 +03:00
11 changed files with 95 additions and 22 deletions

View File

@@ -89,6 +89,14 @@ body {
margin: 0; margin: 0;
padding: 0; } padding: 0; }
.th-header {
display: block;
overflow: hidden;
height: 0;
width: 0; }
.th-header h1 {
display: inline-block; }
.wrapper { .wrapper {
display: block; display: block;
position: relative; position: relative;
@@ -627,6 +635,19 @@ blockquote {
margin-left: auto; margin-left: auto;
margin-right: auto; } margin-right: auto; }
.popover-content {
font-size: 10px;
min-width: 200px;
word-wrap: break-word;
max-height: 300px;
overflow: auto; }
.popover, .popover p {
font-size: 10px !important; }
.popover-title {
display: none; }
/* Icons. */ /* Icons. */
@font-face { @font-face {
font-family: lawcarta; font-family: lawcarta;
@@ -885,7 +906,7 @@ header {
header .cont { header .cont {
height: 100%; height: 100%;
text-align: center; text-align: center;
padding: 0 40px 0 280px; padding: 0;
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
@@ -895,6 +916,9 @@ header {
-webkit-box-pack: center; -webkit-box-pack: center;
-ms-flex-pack: center; -ms-flex-pack: center;
justify-content: center; } justify-content: center; }
@media (min-width: 769px) {
header .cont {
padding: 0 20px 0 210px; } }
header .cont .header-menu { header .cont .header-menu {
-webkit-box-flex: 1; -webkit-box-flex: 1;
-ms-flex: 1 1 auto; -ms-flex: 1 1 auto;
@@ -1073,7 +1097,11 @@ header {
padding-right: 45px; padding-right: 45px;
display: block; display: block;
position: relative; position: relative;
color: #fff; } color: #fff;
max-width: 180px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; }
header .sign-block .signed-user .icon-caret { header .sign-block .signed-user .icon-caret {
font-size: 18px; font-size: 18px;
-webkit-transform: scaleY(0.6) rotate(90deg); -webkit-transform: scaleY(0.6) rotate(90deg);
@@ -1155,7 +1183,8 @@ header {
right: 0; right: 0;
color: #fff; color: #fff;
height: 100%; height: 100%;
z-index: 10; } z-index: 10;
padding-bottom: 60px; }
@media (min-width: 769px) { @media (min-width: 769px) {
header .mobile-nav { header .mobile-nav {
padding-top: 71px; } } padding-top: 71px; } }
@@ -2532,13 +2561,13 @@ footer {
@media (min-width: 769px) { @media (min-width: 769px) {
.main-page .faq-answer .answer-cont { .main-page .faq-answer .answer-cont {
padding: 22px 55px; } } padding: 22px 55px; } }
.main-page .faq-answer h4 { .main-page .faq-answer h4, .main-page .faq-answer h1 {
font-size: 18px; font-size: 18px;
color: #7b724e; color: #7b724e;
font-weight: 100; font-weight: 100;
margin: 0 0 15px -10px; } margin: 0 0 15px -10px; }
@media (min-width: 769px) { @media (min-width: 769px) {
.main-page .faq-answer h4 { .main-page .faq-answer h4, .main-page .faq-answer h1 {
margin: 0 0 25px -30px; } } margin: 0 0 25px -30px; } }
.main-page .faq-answer .answer-text { .main-page .faq-answer .answer-text {
font-weight: 100; font-weight: 100;
@@ -3032,6 +3061,22 @@ footer {
@media (min-width: 992px) { @media (min-width: 992px) {
.blog-page-single .blog-body .cont { .blog-page-single .blog-body .cont {
padding-left: 85px; } } padding-left: 85px; } }
.blog-page-single .blog-body img {
max-width: 100%;
height: auto; }
.blog-page-single .blog-body ol {
counter-reset: item;
margin: 0 0 15px;
padding: 0; }
.blog-page-single .blog-body ol > li {
list-style-type: none;
counter-increment: item; }
.blog-page-single .blog-body ol > li:before {
display: inline-block;
padding-right: 0.5em;
font-weight: bold;
text-align: right;
content: counter(item) "."; }
.blog-page-single .blog-page-social { .blog-page-single .blog-page-social {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
@@ -3135,16 +3180,33 @@ footer {
font-size: 15.62px; font-size: 15.62px;
line-height: 20.7px; line-height: 20.7px;
margin: 10px 7px; } margin: 10px 7px; }
.read-next .rn-block .head {
font-size: 17.5777px;
line-height: 23px;
margin-bottom: 20px;
display: block; }
.read-next .rn-block .text { .read-next .rn-block .text {
overflow: hidden; overflow: hidden; }
max-height: 184px; }
.read-next .rn-block:hover { .read-next .rn-block:hover {
text-decoration: none; text-decoration: none;
background: #efefef; background: #efefef;
color: #666; color: #666;
cursor: pointer; } cursor: pointer; }
.read-next .rn-block .text-overflow {
font-size: 16px;
line-height: 1.2em;
max-height: 8.4em;
padding-bottom: 2px;
overflow: hidden;
display: block;
display: -webkit-box;
-webkit-line-clamp: 7;
-webkit-box-orient: vertical; }
.read-next .rn-block .text-overflow p {
margin: 0;
padding: 0; }
.read-next .rn-block .head {
font-size: 17.5777px;
line-height: 23px;
margin-bottom: 20px;
display: block;
font-weight: bold; }
.read-next .rn-block .head .text-overflow {
font-size: 18px;
max-height: 3.6em;
-webkit-line-clamp: 3; }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -88,7 +88,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
if ($slug != 'publish-your-book'):?> if ($slug != 'publish-your-book'):?>
<header> <header>
<div id="header-menu" class="cont"> <div id="header-menu" class="cont">
<a href="<?= site_url(); ?>" class="main-logo"><img src="<?= get_theme_file_uri('/assets/img/logo.png'); ?>"></a> <a href="<?= site_url(); ?>" class="main-logo"><img alt="Logo" src="<?= get_theme_file_uri('/assets/img/logo.png'); ?>"></a>
<?php <?php
if (has_nav_menu('top')) { if (has_nav_menu('top')) {

View File

@@ -30,6 +30,9 @@ if ($tIds !== false) {
?> ?>
<div class="content no-pb"> <div class="content no-pb">
<div class="th-header">
<h1>FAQs</h1>
</div>
<div class="main-page"> <div class="main-page">
<div class="faq-search"> <div class="faq-search">
<div class="cont"> <div class="cont">

View File

@@ -32,7 +32,7 @@ $post = $posts[0];
<div class="faq-answer"> <div class="faq-answer">
<div class="cont"> <div class="cont">
<div class="answer-cont"> <div class="answer-cont">
<h4><?= $post->post_title?></h4> <h1><?= $post->post_title?></h1>
<div class="answer-text"> <div class="answer-text">
<?= $post->post_content?> <?= $post->post_content?>
</div> </div>

View File

@@ -50,8 +50,8 @@
setup_postdata( $post ); ?> setup_postdata( $post ); ?>
<a class="rn-block" href="<?php the_permalink(); ?>"> <a class="rn-block" href="<?php the_permalink(); ?>">
<div class="text"> <div class="text">
<span class="head"><?php the_title(); ?></span> <span class="head"><span class="text-overflow"><?php the_title(); ?></span></span>
Before starting, ask yourself a clear question: "What environment do I want to foster for my class?" Its important to communicate with your students to learn what makes things most ... <span class="text-overflow"><?php the_excerpt(); ?></span>
</div> </div>
</a> </a>
<?php <?php

View File

@@ -334,7 +334,7 @@ footer.v2 {
.main-page .faq-answer .answer-cont { .main-page .faq-answer .answer-cont {
border: 1px solid #d7d7d7; } border: 1px solid #d7d7d7; }
.main-page .faq-answer h4 { .main-page .faq-answer h4, .main-page .faq-answer h1 {
color: #3090f0; } color: #3090f0; }
.main-page .faq-answer .answer-text { .main-page .faq-answer .answer-text {

File diff suppressed because one or more lines are too long

View File

@@ -482,7 +482,7 @@ ul.tabset-tabs li {
.main-page .faq-answer .answer-cont { .main-page .faq-answer .answer-cont {
border: 1px solid #d7d7d7; } border: 1px solid #d7d7d7; }
.main-page .faq-answer h4 { .main-page .faq-answer h4, .main-page .faq-answer h1 {
color: #3090f0; } color: #3090f0; }
.main-page .faq-answer .answer-text { .main-page .faq-answer .answer-text {
@@ -782,6 +782,14 @@ body .cd-mob-chat-widget {
.casebook-tabs-links .right-download.new-chapters:after, .casebook-tabs-links ul li.new-chapters:after { .casebook-tabs-links .right-download.new-chapters:after, .casebook-tabs-links ul li.new-chapters:after {
background: #ff6b00; } background: #ff6b00; }
.wrapper.new-student-view .highlight-right-bar .hr-cont .hrc-nav a {
color: #0c4e91; }
.wrapper.new-student-view .highlight-right-bar .hr-cont .hrc-nav a.selected {
border-bottom: 1px solid #0c4e91; }
.wrapper.new-student-view .right-selection-block.search-result .rs-text .search-in-text {
color: #0c4e91; }
.dash-top-links .dash-link .dl-icon { .dash-top-links .dash-link .dl-icon {
background: #fff; background: #fff;
border: 3px solid #fff; border: 3px solid #fff;

File diff suppressed because one or more lines are too long