Skip to content

Commit 8c62427

Browse files
committed
changed few style for better view
1 parent 1f63c8f commit 8c62427

File tree

3 files changed

+45
-10
lines changed

3 files changed

+45
-10
lines changed

public/index.html

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,44 @@
22
<html lang="en">
33

44
<head>
5+
<title>WebDevsCom</title>
56
<meta charset="utf-8" />
67
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" type="image/x-icon" />
78
<meta itemprop="image" content="%PUBLIC_URL%/favicon.ico">
89
<meta property="og:image" content="%PUBLIC_URL%/favicon.ico" />
9-
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/apple-touch-icon.png">
10-
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicon-32x32.png">
11-
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon-16x16.png">
12-
<meta name="viewport" content="width=device-width, initial-scale=1" />
1310
<meta name="theme-color" content="#000000" />
11+
<meta name="viewport" content="width=device-width, initial-scale=1" />
1412
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
13+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/apple-touch-icon.png" />
14+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
1515
<meta name="description"
16+
content="Website to help developers by providing them helpful resources and giving experience of open source contribution.">
17+
<meta name="keywords"
18+
content="Binu kumar, developer, projects, skills, apps, frontend, design, github, readme, youtube, interview, coder, programmers, website, full stack developer, frontend-design, resources, kbinu42" />
19+
<meta name="author" content="Binu kumar">
20+
<meta name="email" content="[email protected]">
21+
<meta name="copyright" content="MIT" />
22+
<meta property="og:type" content="website" />
23+
<meta property="og:title" content="WebDevsCom" />
24+
<meta property="og:description"
1625
content="Website to help developers by providing them helpful resources and giving experience of open source contribution." />
17-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18-
<title>WebDevsCom</title>
26+
<meta property="og:image" content="%PUBLIC_URL%/apple-touch-icon.png" />
27+
<meta property="og:url" content="kbinu42.netlify.com" />
28+
<meta property="og:site_name" content="WebDevsCom" />
29+
30+
<meta name="twitter:card" content="website">
31+
<meta name="twitter:site" content="Binu kumar">
32+
<meta name="twitter:title" content="WebDevsCom">
33+
<meta name="twitter:description"
34+
content="Website to help developers by providing them helpful resources and giving experience of open source contribution.">
35+
<meta name="twitter:creator" content="@BinuKum59882786">
36+
<meta name="twitter:image" content="%PUBLIC_URL%/apple-touch-icon.png">
37+
38+
<meta itemprop="name" content="Binu kumar">
39+
<meta itemprop="description"
40+
content="Website to help developers by providing them helpful resources and giving experience of open source contribution.">
41+
<meta itemprop="image" content="%PUBLIC_URL%/apple-touch-icon.png">
42+
<link href="https://fonts.googleapis.com/css2?family=Eagle+Lake&display=swap" rel="stylesheet">
1943
</head>
2044

2145
<body>

src/App.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,14 @@
5050

5151
/* markdown */
5252
#markdown {
53+
padding: 1rem;
5354
margin-top: 1rem;
5455
width: 100%;
55-
overflow: auto;
56+
overflow-x: auto;
57+
}
58+
59+
#markdown p {
60+
text-align: justify;
5661
}
5762

5863
/* loader */
@@ -105,7 +110,7 @@ ul ol {
105110

106111
#bookmarkBtn {
107112
position: fixed;
108-
bottom: 20px;
113+
bottom: 24px;
109114
left: 30px;
110115
z-index: 99;
111116
}
@@ -153,6 +158,11 @@ ul ol {
153158
text-align: center;
154159
}
155160

161+
#markdown {
162+
padding: 0;
163+
overflow-x: hidden;
164+
}
165+
156166
table {
157167
max-width: 100%;
158168
overflow-x: auto;

src/components/Category/Resource.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const Resource = (props) => {
6464

6565
const h3 = document.querySelectorAll('#markdown h3');
6666
for (i = 0; i < h3.length; i++) {
67-
h3[i].className = 'title is-3';
67+
h3[i].className = 'title is-4';
6868
h3[i].setAttribute(
6969
'id',
7070
h3[i].innerHTML
@@ -97,7 +97,8 @@ const Resource = (props) => {
9797

9898
const table = document.querySelectorAll('#markdown table');
9999
for (i = 0; i < table.length; i++)
100-
table[i].className = 'table is-hoverable is-fullwidth is-striped';
100+
table[i].className =
101+
'table is-hoverable is-bordered is-fullwidth is-striped';
101102

102103
const images = document.querySelectorAll('img');
103104
for (i = 0; i < images.length; i++) {

0 commit comments

Comments
 (0)