Skip to content

Commit 526fede

Browse files
committed
Styles changed
1 parent f80d59f commit 526fede

File tree

2 files changed

+35
-4
lines changed

2 files changed

+35
-4
lines changed

src/Components/Herocontent.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Herocontent extends React.Component {
55
render() {
66
return (
77
<div className="main thememain-blue">
8-
<div className="container main">
8+
<div className="container main hero-content-main ">
99
<div className="col-12">
1010
<h1 className="theme-text">The Modern ReactJS Tutorial</h1>
1111
<p className="theme-text" >How it's done now. From the basics to advanced topics with simple, but detailed explanations.
@@ -17,11 +17,17 @@ class Herocontent extends React.Component {
1717
<a className="button button--big" href="#">fb</a>
1818
</div>
1919
<div className="">
20-
<form className="theme-search form-inline my-2 my-lg-0 theme-text">
20+
<div className="search-content">
21+
<form className="theme-search form-inline my-2 my-lg-0 theme-text">
2122
<input className=" theme-search-input form-control mr-sm-2" type="search" placeholder="Search"></input>
2223
<button className="theme-search-btn btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
23-
</form>
24-
</div>
24+
</form>
25+
</div>
26+
</div>
27+
<div className="theme-text banner-text">
28+
<h2>Table of contents</h2>
29+
<p>Main course contains 2 parts which cover reactjs and interview fundamentals.</p>
30+
</div>
2531
</div>
2632
</div>
2733
</div>

src/style.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,29 @@
6363

6464
.content-main li{
6565
padding-bottom: 5px;
66+
}
67+
68+
.theme-text a{
69+
color: #00A64D;
70+
margin-left:10px;
71+
}
72+
73+
.banner-text{
74+
margin-top:20px;
75+
font-size: 14px;
76+
}
77+
78+
.banner-text h2{
79+
font-size: 25px !important;
80+
line-height: 1.5;
81+
}
82+
83+
.banner-text p{
84+
font-size: 17px !important;
85+
line-height: 1.5;
86+
word-wrap: break-word;
87+
}
88+
89+
.search-content{
90+
margin-top:15px;
6691
}

0 commit comments

Comments
 (0)