Browse Source

优化CSS

dev
xiaoz 6 years ago
parent
commit
3f03865202
  1. 6
      application/views/user/header.php
  2. 2
      data/version.txt
  3. 19
      static/style.css

6
application/views/user/header.php

@ -54,9 +54,9 @@ @@ -54,9 +54,9 @@
<!-- 简单判断用户是否登录END -->
</ul>
</div>
<div class = "layui-hide-lg layui-hide-xs">
<ul class="layui-nav menu" lay-filter="">
<li class="layui-nav-item"><a href="found.php">探索发现</a></li>
<div class = "menu layui-hide-lg layui-hide-md layui-hide-sm">
<ul class="layui-nav" lay-filter="">
<li class="layui-nav-item"><a href="/found"><i class="layui-icon layui-icon-search"></i> 探索发现</a></li>
</ul>
</div>
</div>

2
data/version.txt

@ -1 +1 @@ @@ -1 +1 @@
v2.2-20190412
v2.21-20190417

19
static/style.css

@ -4,6 +4,15 @@ body{ @@ -4,6 +4,15 @@ body{
width: 100%;
color:#232323;
}
@media screen and (max-width:640px) {
body{
background-color: #330033;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23404' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23505'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
background-size: cover;
width: 100%;
color:#232323;
}
}
.layui-input{
background-color:rgba(255,255,255,0.3);
}
@ -495,6 +504,9 @@ body{ @@ -495,6 +504,9 @@ body{
margin-left:0.3em;
margin-right:0.3em;
}
.htmlcontent{
color:#393D49;
}
#page-sidebar{
background-color:#FFFFFF;
}
@ -551,10 +563,13 @@ body{ @@ -551,10 +563,13 @@ body{
margin-right: 0.5em;
color:#FFFFFF;
}
.timeline h1, h2, h3, h4, h5, h6 ,p,li{
#timeline .layui-timeline ul>li{
color:#FFFFFF;
}
#timeline .layui-timeline p{
color:#FFFFFF;
}
.layui-text h3 {
#timeline .layui-text h3 {
font-weight: 500;
color: #FFFFFF;
}

Loading…
Cancel
Save