1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-23 09:09:57 +02:00

add mobile support to all site

This commit is contained in:
Xuan Sang LE
2018-02-25 13:54:37 +01:00
parent 16287ce58e
commit 7f6b11a45a
7 changed files with 94 additions and 6 deletions

View File

@ -6,6 +6,7 @@ html,body{
width: 100%;
height: 100%;
overflow: hidden;
overflow-y: auto;
}
#desktop{
width:100%;
@ -59,18 +60,37 @@ html,body{
width: 100%;
padding:5px;
border-top: 1px solid #878887;
background-color: white;
}
#container{
margin-top: 50px;
display: flex;
justify-content: center;
flex-direction: row;
margin-bottom: 50px;
}
#container.mobile{
margin-top: 20px;
display: flex;
justify-content: center;
flex-direction: column;
overflow-y: auto;
}
#container img{
display: block;
max-height: 250px;
max-width: 250px;
width: auto;
margin-left: 20px;
height: auto;
}
#container.mobile img{
margin: 0 auto;
margin-bottom: 10px;
}
#vcard {
margin-left: 20px;
margin-right: 20px;
}
#vcard p.greeting{
font-size: 30px;
@ -82,8 +102,9 @@ html,body{
#vcard p.dedicate{
color: #414339;
/*font-family: "HermitLight";
text-align: justify;
*/
text-align: justify;
font-size: 16px;
padding: 0;
margin: 0;
@ -91,7 +112,6 @@ html,body{
max-width: 500px;
}
afx-app-window div.afx-window-wrapper{
border:1px solid #a6a6a6;
/*box-shadow: 1px 1px 1px #cbcbcb;*/