Prechádzať zdrojové kódy

add text-page iframe max width

alexlcdee 5 rokov pred
rodič
commit
a4683a854b

+ 27 - 31
src/files/css/main.css

@@ -8789,13 +8789,13 @@ a[href^="https://metrika.yandex.ru"] {
   bottom: 10px;
   right: 10px; }
 
-.text-page__text h2, .special-page__article h2, .full-news__text h2, .text-page__video h2, .special-items__h2, .index-about h2 {
+.text-page__text h2, .special-page__article h2, .full-news__text h2, .special-items__h2, .index-about h2 {
   font-family: "Cuprum", Impact, "Charcoal CY", sans-serif;
   font-size: 25px;
   margin: 20px 0;
   font-weight: 600; }
 
-.text-page__text h3, .special-page__article h3, .full-news__text h3, .text-page__video h3 {
+.text-page__text h3, .special-page__article h3, .full-news__text h3 {
   font-family: "Cuprum", Impact, "Charcoal CY", sans-serif;
   font-size: 20px;
   margin: 20px 0;
@@ -8813,37 +8813,35 @@ h7 {
   font-family: "Cuprum", Impact, "Charcoal CY", sans-serif;
   font-size: 13px; }
 
-.text-page__text p, .special-page__article p, .full-news__text p, .text-page__video p, .index-about p {
+.text-page__text p, .special-page__article p, .full-news__text p, .index-about p {
   font-family: "Open Sans", Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
   font-size: 15px;
   margin: 20px 0; }
-  .text-page__text p img, .special-page__article p img, .full-news__text p img, .text-page__video p img, .index-about p img {
+  .text-page__text p img, .special-page__article p img, .full-news__text p img, .index-about p img {
     /*float: left;
     margin-right: 20px;
     margin-bottom: 23px;
     margin-top: 6px;*/
     margin: 10px;
     max-width: 100%; }
-  .text-page__text p b, .special-page__article p b, .full-news__text p b, .text-page__video p b, .index-about p b,
+  .text-page__text p b, .special-page__article p b, .full-news__text p b, .index-about p b,
   .text-page__text p strong,
   .special-page__article p strong,
   .full-news__text p strong,
-  .text-page__video p strong,
   .index-about p strong {
     font-weight: 600; }
-  .text-page__text p i, .special-page__article p i, .full-news__text p i, .text-page__video p i, .index-about p i,
+  .text-page__text p i, .special-page__article p i, .full-news__text p i, .index-about p i,
   .text-page__text p em,
   .special-page__article p em,
   .full-news__text p em,
-  .text-page__video p em,
   .index-about p em {
     font-style: italic; }
 
-.text-page__text ul, .special-page__article ul, .full-news__text ul, .text-page__video ul {
+.text-page__text ul, .special-page__article ul, .full-news__text ul {
   margin: 0;
   padding: 0;
   list-style-type: none; }
-  .text-page__text ul li, .special-page__article ul li, .full-news__text ul li, .text-page__video ul li {
+  .text-page__text ul li, .special-page__article ul li, .full-news__text ul li {
     padding-left: 12px;
     position: relative;
     font-size: 15px;
@@ -8851,7 +8849,7 @@ h7 {
     line-height: 1.5;
     margin-top: 10px;
     margin-bottom: 10px; }
-    .text-page__text ul li:before, .special-page__article ul li:before, .full-news__text ul li:before, .text-page__video ul li:before {
+    .text-page__text ul li:before, .special-page__article ul li:before, .full-news__text ul li:before {
       content: '';
       display: block;
       position: absolute;
@@ -8862,42 +8860,41 @@ h7 {
       width: 6px;
       height: 6px; }
 
-.text-page__text ol, .special-page__article ol, .full-news__text ol, .text-page__video ol {
+.text-page__text ol, .special-page__article ol, .full-news__text ol {
   margin: 0;
   padding: 0;
   list-style-type: none; }
-  .text-page__text ol > li, .special-page__article ol > li, .full-news__text ol > li, .text-page__video ol > li {
+  .text-page__text ol > li, .special-page__article ol > li, .full-news__text ol > li {
     margin: 10px 0;
     counter-increment: step-counter;
     font-size: 15px;
     font-family: "Open Sans", Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
     color: #404040;
     line-height: 1.5; }
-    .text-page__text ol > li:before, .special-page__article ol > li:before, .full-news__text ol > li:before, .text-page__video ol > li:before {
+    .text-page__text ol > li:before, .special-page__article ol > li:before, .full-news__text ol > li:before {
       content: counter(step-counter) ".";
       font-size: 15px;
       font-family: "Open Sans", Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
       color: #265e86;
       font-weight: bold;
       padding-right: 5px; }
-    .text-page__text ol > li ul, .special-page__article ol > li ul, .full-news__text ol > li ul, .text-page__video ol > li ul, .text-page__text ol > li ol, .special-page__article ol > li ol, .full-news__text ol > li ol, .text-page__video ol > li ol {
+    .text-page__text ol > li ul, .special-page__article ol > li ul, .full-news__text ol > li ul, .text-page__text ol > li ol, .special-page__article ol > li ol, .full-news__text ol > li ol {
       margin-left: 40px; }
 
-.text-page__text table, .special-page__article table, .full-news__text table, .text-page__video table {
+.text-page__text table, .special-page__article table, .full-news__text table {
   width: 100%;
   border-spacing: 0;
   border: 1px solid #e6e6e6;
   margin-top: 20px;
   max-width: 100%; }
   @media (max-width: 768px) {
-    .text-page__text table, .special-page__article table, .full-news__text table, .text-page__video table {
+    .text-page__text table, .special-page__article table, .full-news__text table {
       display: block;
       overflow: auto; } }
-  .text-page__text table thead td, .special-page__article table thead td, .full-news__text table thead td, .text-page__video table thead td,
+  .text-page__text table thead td, .special-page__article table thead td, .full-news__text table thead td,
   .text-page__text table th,
   .special-page__article table th,
-  .full-news__text table th,
-  .text-page__video table th {
+  .full-news__text table th {
     background: #e6e6e6;
     font-size: 11px;
     font-family: "Open Sans", Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
@@ -8907,36 +8904,35 @@ h7 {
     padding: 17px 0 17px 12px;
     border: 1px solid #e6e6e6;
     text-align: left; }
-  .text-page__text table tbody td, .special-page__article table tbody td, .full-news__text table tbody td, .text-page__video table tbody td,
+  .text-page__text table tbody td, .special-page__article table tbody td, .full-news__text table tbody td,
   .text-page__text table td,
   .special-page__article table td,
-  .full-news__text table td,
-  .text-page__video table td {
+  .full-news__text table td {
     font-size: 14px;
     font-family: "Open Sans", Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
     color: #404040;
     line-height: 1.714;
     border: 1px solid #e6e6e6;
     vertical-align: top; }
-  .text-page__text table p, .special-page__article table p, .full-news__text table p, .text-page__video table p, .text-page__text table h1, .special-page__article table h1, .full-news__text table h1, .text-page__video table h1, .text-page__text table h2, .special-page__article table h2, .full-news__text table h2, .text-page__video table h2, .text-page__text table h3, .special-page__article table h3, .full-news__text table h3, .text-page__video table h3, .text-page__text table h4, .special-page__article table h4, .full-news__text table h4, .text-page__video table h4, .text-page__text table h5, .special-page__article table h5, .full-news__text table h5, .text-page__video table h5, .text-page__text table h6, .special-page__article table h6, .full-news__text table h6, .text-page__video table h6 {
+  .text-page__text table p, .special-page__article table p, .full-news__text table p, .text-page__text table h1, .special-page__article table h1, .full-news__text table h1, .text-page__text table h2, .special-page__article table h2, .full-news__text table h2, .text-page__text table h3, .special-page__article table h3, .full-news__text table h3, .text-page__text table h4, .special-page__article table h4, .full-news__text table h4, .text-page__text table h5, .special-page__article table h5, .full-news__text table h5, .text-page__text table h6, .special-page__article table h6, .full-news__text table h6 {
     margin: 0;
     padding: 0; }
-  .text-page__text table.table-price, .special-page__article table.table-price, .full-news__text table.table-price, .text-page__video table.table-price {
+  .text-page__text table.table-price, .special-page__article table.table-price, .full-news__text table.table-price {
     table-layout: fixed; }
-    .text-page__text table.table-price th:nth-child(1), .special-page__article table.table-price th:nth-child(1), .full-news__text table.table-price th:nth-child(1), .text-page__video table.table-price th:nth-child(1), .text-page__text table.table-price td:nth-child(1), .special-page__article table.table-price td:nth-child(1), .full-news__text table.table-price td:nth-child(1), .text-page__video table.table-price td:nth-child(1) {
+    .text-page__text table.table-price th:nth-child(1), .special-page__article table.table-price th:nth-child(1), .full-news__text table.table-price th:nth-child(1), .text-page__text table.table-price td:nth-child(1), .special-page__article table.table-price td:nth-child(1), .full-news__text table.table-price td:nth-child(1) {
       width: 70%;
       text-align: left; }
-    .text-page__text table.table-price th:nth-child(2), .special-page__article table.table-price th:nth-child(2), .full-news__text table.table-price th:nth-child(2), .text-page__video table.table-price th:nth-child(2), .text-page__text table.table-price td:nth-child(2), .special-page__article table.table-price td:nth-child(2), .full-news__text table.table-price td:nth-child(2), .text-page__video table.table-price td:nth-child(2) {
+    .text-page__text table.table-price th:nth-child(2), .special-page__article table.table-price th:nth-child(2), .full-news__text table.table-price th:nth-child(2), .text-page__text table.table-price td:nth-child(2), .special-page__article table.table-price td:nth-child(2), .full-news__text table.table-price td:nth-child(2) {
       width: 30%;
       text-align: right; }
 
-.text-page__text blockquote, .special-page__article blockquote, .full-news__text blockquote, .text-page__video blockquote {
+.text-page__text blockquote, .special-page__article blockquote, .full-news__text blockquote {
   padding: 5px 25px 5px 60px;
   background: #ebebeb url("../img/cite.png") 20px 30px no-repeat; }
-  .text-page__text blockquote p, .special-page__article blockquote p, .full-news__text blockquote p, .text-page__video blockquote p {
+  .text-page__text blockquote p, .special-page__article blockquote p, .full-news__text blockquote p {
     font-size: 25px;
     font-family: "Cuprum", Impact, "Charcoal CY", sans-serif; }
-    .text-page__text blockquote p small, .special-page__article blockquote p small, .full-news__text blockquote p small, .text-page__video blockquote p small {
+    .text-page__text blockquote p small, .special-page__article blockquote p small, .full-news__text blockquote p small {
       font-size: 15px; }
 
 img {
@@ -8947,7 +8943,7 @@ img {
   font-weight: 700;
   color: #004d7b;
   font-size: 34px; }
-.text-page__video iframe {
+.text-page__text iframe, .special-page__article iframe, .full-news__text iframe {
   max-width: 100%; }
 
 .shortnews__list {

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
src/files/css/main.css.map


+ 0 - 4
src/files/scss/_text-page.scss

@@ -8,10 +8,6 @@
         }
 
         @extend %all-tags;
-    }
-
-    &__video {
-        @extend %all-tags;
 
         iframe {
             max-width: 100%;

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov