First pass replace Yandex translations with LM studio Llamma 3, first pass at doku wiki importer
First pass replace Yandex translations with LM studio Llamma 3, first pass at doku wiki importer
/**
* SeekQuarry/Yioop --
* Open Source Pure PHP Search Engine, Crawler, and Indexer
*
* Copyright (C) 2009 - 2024 Chris Pollett chris@pollett.org
*
* LICENSE:
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* END LICENSE
*
* @author Eswara Rajesh Pinapala
* @license https://www.gnu.org/licenses/ GPL3
* @link https://www.seekquarry.com/
* @copyright 2009 - 2024
* @filesource
*/
/*
editor.css
Stylesheet for text-area editor associated with editing wiki pages
*/
.wiki-editor
{
display: block;
margin: 0 auto;
}
.wiki-editor div
{
padding: 5px;
}
.wiki-buttons
{
margin-top: 6px;
margin-bottom:2px;
}
.wiki-buttons [class*='wikibtn-']
{
border: white
}
.wiki-buttons span
{
cursor: pointer;
}
.wiki-buttons select
{
cursor: pointer;
font-size: 18pt;
margin: 1px;
padding: 5px;
text-align: center;
vertical-align: middle;
border: white
}
.wiki-popup-prompt
{
background-color: gray;
display: none;
height: 100%;
left: 0;
right:0;
opacity:0.95;
position:fixed;
top: 0;
width:100%;
z-index:100;
}
.wiki-popup-content
{
background-color: white;
border: 16px solid #8A4;
height: 3in;
left: 20%;
right: 20%;
overflow: auto;
padding: 16px;
position:fixed;
top: 20%;
width: 5in;
z-index:101;
}
.wiki-popup-content h2
{
padding: 30px;
}
.wiki-popup-content div
{
padding: 15px;
}
.wiki-popup-content select
{
font-size: 18pt;
}
.wiki-popup-content table
{
margin: auto;
}
.wikibtn-icon-bullets
{
display:inline-block;
text-align:left;
}
.wikibtn-icon-bullets div
{
font-size:smaller;
left:-2px;
position:relative;
top:-3px;
width:5px;
}
.wikibtn-icon-numbers
{
display:inline-block;
font-size:6px;
}
.wikibtn-icon-leftaligned,
.wikibtn-icon-centeraligned,
.wikibtn-icon-rightaligned,
{
display:inline-block;
position:absolute;
text-align:left;
}
.icon-first
{
position:relative;
top:-15px;
}
.icon-second,
.icon-third
{
font-size:smaller;
position:relative;
}
.wikibtn-icon-leftaligned .icon-second
{
left:-13.5px;
top:-10px;
}
.mobile .wikibtn-icon-leftaligned .icon-second
{
left:-10.5px;
top:-10px;
}
.wikibtn-icon-leftaligned .icon-third
{
left:-24.5px;
top:-6px;
}
.mobile .wikibtn-icon-leftaligned .icon-third
{
left:-19.5px;
top:-6px;
}
.icon-fourth
{
position:relative;
left:-35.75px;
top:-2px;
}
.mobile .icon-fourth
{
position:relative;
left:-29px;
top:-2px;
}
.wikibtn-icon-centeraligned .icon-second
{
left:-12.5px;
top:-10px;
}
.mobile .wikibtn-icon-centeraligned .icon-second
{
left:-10px;
top:-10px;
}
.wikibtn-icon-centeraligned .icon-third
{
left:-23.5px;
top:-6px;
}
.mobile .wikibtn-icon-centeraligned .icon-third
{
left:-19px;
top:-6px;
}
.wikibtn-icon-rightaligned .icon-second
{
left:-11.0px;
top:-10px;
}
.mobile .wikibtn-icon-rightaligned .icon-second
{
left:-9.0px;
top:-10px;
}
.wikibtn-icon-rightaligned .icon-third
{
left:-22.5px;
top:-6px;
}
.mobile .wikibtn-icon-rightaligned .icon-third
{
left:-18px;
top:-6px;
}
.wiki-icon-nowiki
{
border-radius: 50%;
border: 2px solid red;
font-size: smaller;
padding:2px;
position: relative;
}
.wiki-icon-nowiki:before
{
border-top: 2px solid;
border-color: red;
content: "";
left: 0;
position: absolute;
right: 0;
top: 50%;
transform:rotate(-45deg);
}
.wikibtn-bold:hover,
.wikibtn-bullets:hover,
.wikibtn-heading:hover,
.wikibtn-hr:hover,
.wikibtn-hyperlink:hover,
.wikibtn-italic:hover,
.wikibtn-nowiki:hover,
.wikibtn-numbers:hover,
.wikibtn-search-widget:hover,
.wikibtn-strike:hover,
.wikibtn-table:hover,
.wikibtn-underline:hover,
.wikibtn-slide:hover,
.wikibtn-definitionlist:hover,
.wikibtn-rightaligned:hover,
.wikibtn-leftaligned:hover,
.wikibtn-centeraligned:hover
{
background-position: 0 -36px;
}