Making the UI responsive

legacy
Steve L. Nyemba 8 years ago
parent a73e79b087
commit a85242087f

@ -1,3 +1,6 @@
<meta charset="UTF-8">
<meta http-equiv="cache-control" content="no-cache">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1">
<style>
body{
font-family:sans-serif;
@ -13,8 +16,8 @@
border-radius:8px;
-webkit-border-radius:8px;
padding:4px;
width:55%;
margin-top:10%;
margin:4px;
}
.action {
cursor:pointer;
@ -31,15 +34,26 @@
.action:hover { background-color:#4682b4; color:white}
tr {font-family:sans-serif; font-size:14px;}
td {padding:4px; font-weight:lighter}
@media only screen and (min-device-width: 320px){
table {width:99%}
body {font-size:12px;}
tr {font-family:sans-serif; font-size:12px;}
td {padding:4px; font-weight:lighter}
}
@media only screen and (min-device-width: 768px){
body {font-size:12px}
table {width:70%; margin-left:15%}
}
</style>
<body>
<div>
</div>
<br>
<div id="grid">
<table align="center">
<table align="center" style="border-color:transparent">
<tr>
<td colspan="2">
<td style="width:50%">
<div align="left" class="default">
<img src="/static/img/logo.png" style="width:48px" class="left" style="margin:4px">
<div style="padding:8px">The Phi Technology
@ -55,6 +69,8 @@
<div>Email: support@the-phi.com</div>
</td>
</tr>
</table>
<table align="center" >
<tr style="background-color:#f3f3f3">
<td>Service</td>
<td>Price /mo (USD)</td>
@ -72,7 +88,7 @@
<tr style="font-size:11px; ">
<td align="right"></td>
<td align="right" style="background-color:#f3f3f3;"> Amount Due <span style="font-weight:bold">$ {{ total_amount }}</span></td>
<td align="center">
<td align="center" style="width:20%">
<span class="action">Purchase</span>
</td>
</table>

Loading…
Cancel
Save