Skip to content

Commit c00c926

Browse files
committed
Added responsive design improvement to support modern mobile browsers
1 parent 2b207ff commit c00c926

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
<html>
33
<head>
44
<title>GroupDocs.Viewer</title>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
57
<link href="favicon.ico?v1.0" rel="shortcut icon" type="image/vnd.microsoft.icon">
68
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css" integrity="sha384-/rXc/GQVaYpyDdyxK+ecHPVYJSN9bmVFBvjA/9eOB+pb3F2w2N6fc5qB9Ew5yIns" crossorigin="anonymous">
79
<link type="text/css" rel="stylesheet" href="resources/css/groupdocs.viewer.css"/>
10+
<link type="text/css" rel="stylesheet" href="resources/css/groupdocs.viewer.mobile.css"/>
811
</head>
912
<body>
1013
<div id="logo">
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
@media screen and (max-width: 768px){
2+
#logo{
3+
position: relative;
4+
width: 100%;
5+
text-align: center;
6+
left: 0;
7+
}
8+
9+
#navigation{
10+
position: relative;
11+
right: 0;
12+
width: 100%;
13+
text-align: center;
14+
top: 35px;
15+
}
16+
17+
#navigation > li{
18+
font-size: 16px;
19+
margin: 0 20px;
20+
}
21+
22+
#container{
23+
width: 276px;
24+
margin-left: -138px;
25+
}
26+
27+
#container > h1{
28+
font-size: 70px;
29+
}
30+
31+
#social{
32+
font-size: 22px;
33+
}
34+
35+
#social > li{
36+
margin: 10px 25px;
37+
display: inline-block;
38+
}
39+
40+
}

0 commit comments

Comments
 (0)