소스 검색

added the meta viewport thing so it looks less bad on mobile

master
XeonSquared 5 년 전
부모
커밋
8a284dc31d
2개의 변경된 파일28개의 추가작업 그리고 26개의 파일을 삭제
  1. +27
    -26
      static/index.html
  2. +1
    -0
      static/services.html

+ 27
- 26
static/index.html 파일 보기

@@ -1,34 +1,35 @@
<html>
<head>
<title>lain.church</title>
<style>
body {
font-family: sans-serif;
}
.logo {
right: 16px;
bottom: 16px;
width: 96px;
height: 96px;
position: absolute;
}
.cpugraph {
left: 0px;
bottom: 0px;
position: absolute;
}
@media screen and (max-width: 890px) {
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>lain.church</title>
<style>
body {
font-family: sans-serif;
}
.logo {
right: 16px;
bottom: 16px;
width: 96px;
height: 96px;
position: absolute;
}
.cpugraph {
display: none;
left: 0px;
bottom: 0px;
position: absolute;
}
@media screen and (max-width: 890px) {
.cpugraph {
display: none;
}
}
}
@media screen and (max-height: 449px) {
.cpugraph .logo {
display: none;
@media screen and (max-height: 449px) {
.cpugraph .logo {
display: none;
}
}
}
</style>
<link rel="stylesheet" href="/css/buttontile.css">
</style>
<link rel="stylesheet" href="/css/buttontile.css">
</head>
<body bgcolor="#336698">
<a href="https://git.lain.church"><div class="btncontainer"><img class="btnimg" src="/img/gitlain.svg"></img><br>GitLain</div></a>


+ 1
- 0
static/services.html 파일 보기

@@ -1,4 +1,5 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/columns.css">
<link rel="stylesheet" href="/css/haiku.css">
<link rel="stylesheet" href="/css/dropdown.css">


불러오는 중...
취소
저장