| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302 |
- <?php
- require_once '../pcdl/html_head.php';
- ?>
- <body>
- <script language="javascript" src="../pcdl/index.js"></script>
- <style>
- .content_inner {
- display: flex;
- }
- .title_bar {
- justify-content: space-between;
- display: flex;
- margin: 1em 0;
- }
- .h3 {
- font-size: 18px;
- font-weight: 700;
- }
- /*
- .index_list_categories {
- padding: 1rem;
- }*/
- .index_list_content {
- padding: 1rem;
- }
- .index_list_categories a:hover {
- color: var(--tool-link-hover-color);
- }
- /*.index_list_categories a,a:link{
- color: var(--main-color);
- }*/
- .index_list_categories button {
- border: none;
- }
- .pd-10 {
- padding: 10px;
- }
- .collect {
- color: var(--link-color);
- font-weight: 700;
- }
- #footer_nav {
- display: none;
- }
- .index_article {
- background-color: #e0e0e0;
- }
- .index_course {
- background-color: #313131;
- }
- .index_course .h3 {
- color: white;
- }
- .article_right {
- width: calc(100% - 80px);
- }
- .course_right a,
- .article_right a {
- color: var(--main-color);
- }
- .title a,
- .course_right title {
- font-size: 120%;
- font-weight: 700;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-line-clamp: 2;
- }
- #course_list_new .card {
- height: 120px;
- padding: 0;
- display: grid;
- grid-template-columns: 120px 1fr;
- }
- .card_photo {
- object-fit: cover;
- border-radius: 20px 0 0 20px;
- }
- .course_right {
- padding: 10px;
- display: flex;
- flex-direction: column;
- width: calc(100% - 10px);
- }
- .subtitle {
- margin-top: auto;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- width: 100%;
- -webkit-line-clamp: 2;
- }
- #pali_pedia .card {
- background-color: #F9F9F9;
- box-shadow: unset;
- display: grid;
- grid-template-columns: 2fr 1fr;
- grid-template-areas:
- "title author"
- "summary author";
- }
- #pali_pedia .title {
- grid-area: title;
- font-size: 120%;
- }
- #pali_pedia .summary {
- grid-area: summary;
- }
- #pali_pedia .author {
- grid-area: author;
- color: gray;
- }
- .author {
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- }
- </style>
- <style media="screen and (min-width:800px)">
- .index_list_content {
- display: flex;
- margin: auto;
- max-width: 900px;
- }
- .index_article .index_list_content {
- background-image: url(img/books.svg);
- background-repeat: no-repeat;
- }
- .index_course .index_list_content {
- flex-direction: row-reverse;
- background-image: url(img/teachers.svg);
- background-repeat: no-repeat;
- background-position-x: right;
- }
- .title_bar {
- flex: 4;
- position: relative;
- margin: 2em;
- }
- #article_new {
- flex: 9;
- }
- #course_list_new {
- flex: 8;
- }
- #pali_pedia .card {
- margin: 0;
- }
- #pali_pedia {
- flex: 12;
- display: grid;
- grid-template-columns: 1fr 1fr;
- grid-gap: 10px;
- }
- .title_bar .h3 {
- font-size: 250%;
- }
- .title_more {
- position: absolute;
- right: 30px;
- bottom: 0;
- }
- .index_pedia .index_list_content {
- flex-direction: column;
- }
- .index_pedia .title_bar {
- display: grid;
- justify-content: unset;
- text-align: center;
- }
- .index_pedia .title_more {
- all: unset;
- }
- </style>
- <!--
- <style media="screen and (max-width:800px)">
- #right_pannal {
- display: none;
- }
- .when_right_fixed {
- padding-right: 0;
- }
- .index_toolbar {
- position: unset;
- }
- #pali_pedia {
- font-size: 200%;
- margin-top: auto;
- margin-bottom: auto;
- padding-left: 0.5em;
- }
- .content_inner {
- display: block;
- }
- .article_list {}
- </style>-->
- <a name="pagetop"></a>
- <!-- tool bar begin-->
- <?php
- require_once("head_bar.php");
- ?>
- <!--tool bar end -->
- <div class="index_inner">
- <div class="index_list_categories index_article">
- <div class="index_list_content">
- <div class="title_bar">
- <span class="title h3"><?php echo $_local->gui->composition; ?></span>
- <span class="title_more"><a href="../collect"><?php echo $_local->gui->more; ?></a></span>
- </div>
- <div id="article_new">
- </div>
- </div>
- </div>
- <div class="index_list_categories index_course">
- <div class="index_list_content">
- <div class="title_bar">
- <span class="title h3"><?php echo $_local->gui->lesson; ?></span>
- <span class="title_more"><a href="../course"><?php echo $_local->gui->more; ?></a></span>
- </div>
- <div id="course_list_new">
- </div>
- </div>
- </div>
- <div class="index_list_categories index_pedia">
- <div class="index_list_content">
- <div class="title_bar">
- <span class="title h3"><?php echo $_local->gui->encyclopedia; ?></span>
- <span class="title_more"><a href="../wiki"><?php echo $_local->gui->more; ?></a></span>
- </div>
- <div id="pali_pedia">
- </div>
- </div>
- </div>
- </div>
- <script>
- $(document).ready(function() {
- index_onload();
- });
- </script>
- <?php
- include "../pcdl/html_foot.php";
- ?>
|