手机访问布局细分

This commit is contained in:
Meekdai 2023-08-12 21:42:04 +08:00
parent 84cbbed27b
commit 314be13927
3 changed files with 10 additions and 8 deletions

View File

@ -19,13 +19,6 @@ body{
font-family: sans-serif; font-family: sans-serif;
line-height: 1.25; line-height: 1.25;
} }
@media (max-width: 767px) {
body { padding: 8px;}
.subnav-search form{display:none;}
.subnav-search svg{display:none;}
.SideNav-item .listLabels{display:none;}
#buttonRSS{display:none;}
}
.avatar {transition: 0.8s;} .avatar {transition: 0.8s;}
.avatar:hover {transform: scale(1.15) rotate(360deg);} .avatar:hover {transform: scale(1.15) rotate(360deg);}

View File

@ -15,6 +15,14 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-
.SideNav{min-width: 360px;} .SideNav{min-width: 360px;}
.SideNav-icon{margin-right: 16px} .SideNav-icon{margin-right: 16px}
.SideNav-item .Label{color: #fff;margin-left:8px;} .SideNav-item .Label{color: #fff;margin-left:8px;}
@media (max-width: 767px) {
body { padding: 8px;}
h1 a{font-size:24px;}
.subnav-search form{display:none;}
.subnav-search svg{display:none;}
#buttonRSS{display:none;}
.SideNav-item .listLabels{display:none;}
}
</style> </style>
{% endblock %} {% endblock %}
@ -43,7 +51,7 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-
</button> </button>
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
<button class="btn btn-invisible circle" onclick="window.location.href='/rss.xml'" title="RSS"> <button id="buttonRSS" class="btn btn-invisible circle" onclick="window.location.href='/rss.xml'" title="RSS">
<svg class="octicon" width="16" height="16" > <svg class="octicon" width="16" height="16" >
<path id="pathRSS" fill-rule="evenodd"></path> <path id="pathRSS" fill-rule="evenodd"></path>
</svg> </svg>

View File

@ -9,6 +9,7 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-
#postBody hr{height:2px;} #postBody hr{height:2px;}
#cmButton{height:48px;margin-top:48px;} #cmButton{height:48px;margin-top:48px;}
#comments{margin-top:64px;} #comments{margin-top:64px;}
@media (max-width: 767px) {body {padding: 8px;}}
</style> </style>
{% endblock %} {% endblock %}
{% block header %} {% block header %}