diff --git a/css/home.css b/css/home.css
index c0fcfa9..3b7249b 100644
--- a/css/home.css
+++ b/css/home.css
@@ -240,6 +240,8 @@ textarea{
padding-left: auto;
padding-right: auto;
border-radius: 25px;
+ background-color: var(--background-color);
+ border: 1px solid var(--main-color);
box-shadow:0 0px 48px 0 rgba(0, 0, 0, .15);
}
@@ -687,6 +689,8 @@ main h1{
padding-left: auto;
padding-right: auto;
border-radius: 25px;
+ background-color: var(--background-color);
+ border: 1px solid var(--main-color);
box-shadow:0 0px 48px 0 rgba(0, 0, 0, .15);
}
@@ -2876,7 +2880,7 @@ label>input {
width:120px;
padding: 8px auto;
- margin-left: auto;
+ margin-left: 6px;
margin-right: 6px;
margin-bottom: 0px;
@@ -2915,8 +2919,8 @@ label>input {
width:120px;
padding: 8px auto;
- margin-left: auto;
- margin-right: 0px;
+ margin-left: 6px;
+ margin-right: 6px;
margin-bottom: 0px;
padding-top: 6px;
@@ -5312,6 +5316,13 @@ noscript .noscript_modal .inner .center_text p{
margin-right: 6px;
}
+ .sendbox{
+ padding-left: 12px;
+ padding-right: 12px;
+ padding-top: 12px;
+ padding-bottom: 12px;
+ }
+
.sendbox .fx img{
object-fit: cover;
margin-left: -12px;
@@ -5375,7 +5386,7 @@ noscript .noscript_modal .inner .center_text p{
font-weight: bold;
}
.sendbox .emoji_picker .emoji_picker_flex{
- justify-content: flex-start;
+ justify-content: space-between;
}
.sendbox .emoji_picker .emoji_picker_flex .one_emoji{
margin: 6px;
@@ -5473,6 +5484,25 @@ noscript .noscript_modal .inner .center_text p{
transition: all 250ms ease-out;
}
+ .irobutton{
+ padding: 8px 5%;
+ }
+ .irobutton:hover{
+ padding: 8px 6%;
+ }
+ .irobutton:active{
+ padding: 8px 4%;
+ }
+ .sirobutton{
+ padding: 8px 5%;
+ }
+ .sirobutton:hover{
+ padding: 8px 6%;
+ }
+ .sirobutton:active{
+ padding: 8px 4%;
+ }
+
.ueuse .favbox img{
width: 24px;
height: 24px;
@@ -7326,6 +7356,13 @@ noscript .noscript_modal .inner .center_text p{
color:var(--dark-background-color);
box-shadow:0 0px 48px 0 rgba(0, 0, 0, .2);
}
+
+ .ueuse .unixtime{
+ padding-left: 6px;
+ padding-right: 6px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ }
.tlchange{
background-color: var(--dark-background-color);
diff --git a/function/function.php b/function/function.php
index 01aaa6b..2bd9bfe 100644
--- a/function/function.php
+++ b/function/function.php
@@ -110,20 +110,32 @@ function processMarkdownAndWrapEmptyLines($markdownText){
return '' . date("Y/m/d H:i", htmlentities($timestamp, ENT_QUOTES, 'UTF-8', false)) . '';
}, $markdownText);
- $markdownText = preg_replace('/\*\*\*(.*?)\*\*\*/', '$1', $markdownText);//太字&斜体の全部のせセット
- $markdownText = preg_replace('/\_\_\_(.*?)\_\_\_/', '$1', $markdownText);//太字&斜体の全部のせセット
+ //太字&斜体------------------------------------------------------------------------
+ $markdownText = preg_replace('/\*\*\*(.+)\*\*\*(?=\s)/', '$1', $markdownText);//太字&斜体の全部のせセット
+ $markdownText = preg_replace('/\b\*\*\*(.+)\*\*\*\b/', '$1', $markdownText);//太字&斜体の全部のせセット
- $markdownText = preg_replace('/\*\*(.*?)\*\*/', '$1', $markdownText);//太字
- $markdownText = preg_replace('/\_\_(.*?)\_\_/', '$1', $markdownText);//太字
+ $markdownText = preg_replace('/\_\_\_(.+)\_\_\_(?=\s)/', '$1', $markdownText);//太字&斜体の全部のせセット
+ $markdownText = preg_replace('/\b\_\_\_(.+)\_\_\_\b/', '$1', $markdownText);//太字&斜体の全部のせセット
- $markdownText = preg_replace('/\*(.*?)\*/', '$1', $markdownText);//斜体
- $markdownText = preg_replace('/\_(.*?)\_/', '$1', $markdownText);//斜体
+ //太字-----------------------------------------------------------------------------
+ $markdownText = preg_replace('/\*\*(.+)\*\*(?=\s)/', '$1', $markdownText);//太字
+ $markdownText = preg_replace('/\b\*\*(.+)\*\*\b/', '$1', $markdownText);//太字
- $markdownText = preg_replace('/\~\~(.*?)\~\~/m', '$1', $markdownText);//打ち消し線
+ $markdownText = preg_replace('/\_\_(.+)\_\_(?=\s)/', '$1', $markdownText);//太字
+ $markdownText = preg_replace('/\b\_\_(.+)\_\_\b/', '$1', $markdownText);//太字
- $markdownText = preg_replace('/>>> (.*)/m', '$1', $markdownText);//>>> 引用
+ //斜体-----------------------------------------------------------------------------
+ $markdownText = preg_replace('/\*(.+)\*(?=\s)/', '$1', $markdownText);//斜体
+ $markdownText = preg_replace('/\b\*(.+)\*\b/', '$1', $markdownText);//斜体
- $markdownText = preg_replace('/\|\|(.*)\|\|/m', '$1', $markdownText);//黒塗り
+ $markdownText = preg_replace('/\_(.+)\_(?=\s)/', '$1', $markdownText);//斜体
+ $markdownText = preg_replace('/\b\_(.+)\_\b/', '$1', $markdownText);//斜体
+
+ $markdownText = preg_replace('/\~\~(.+)\~\~/m', '$1', $markdownText);//打ち消し線
+
+ $markdownText = preg_replace('/>>> (.+)/m', '$1', $markdownText);//>>> 引用
+
+ $markdownText = preg_replace('/\|\|(.+)\|\|/m', '$1', $markdownText);//黒塗り
// タイトル(#、##、###)をHTMLのhタグに変換
$markdownText = preg_replace('/^# (.+)/m', '