Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 135 additions & 1 deletion css/custom.css
Original file line number Diff line number Diff line change
@@ -1 +1,135 @@
/* You can include your custom styling here */
/*Toggle-Navigation Bar*/
.navbar-header {
float: left !important;
}

.navbar-header #navbar {
float: right !important;
}

#text-navbar {
font-family: "Fjalla One", Sans-serif;
color: #879096;
font-size: 14px;
line-height: 48px;
text-transform: uppercase;
font-weight: 400;
border-bottom: 2px solid transparent;
width: auto;
}

#text-navbar a:hover {
color: #ff3c1f;
}

#SM {
padding: 12 0;
}

#navbar {
float: right !important;
}

.fb-like .stub {
border: none;
visibility: visible;
width: 49px;
height: 48px;
padding-top: 15px;
}

#twitter-widget {
width: 60px;
height: 48px;
padding-top: 15px;
}

.rss {
width: 20px;
height: 48px;
padding-top: 15px;
}

#searchBar {
float: left;
}

/* 3.X.X By--Author--Date*/
.top-story-wrapper {
margin-bottom: 30px;
padding: 10px;
}

#square {
margin-bottom: 20px;
width: 100%;
}

.loop-post-byline {
font-family: "FF Tisa", Georgia, serif;
color: #879096;
text-transform: none;
}

.loop-post-byline .date {
color: #a6abaf;
font-style: italic;
font-size: 1.1em;
margin-right: 2px;
}

.loop-post-byline .author a {
font-family: "Impact";
color: #ff3c1f;
text-transform: uppercase;
}

.article-title {
padding: 0;
margin: auto 0;
line-height: 1em;
font-family: 'Source Sans Pro', Sans-serif;
}

.article-title a {
color: #010101;
text-decoration: none;
font-size: 25px;
font-weight: 400;

}

.article-title a:hover {
color: #ff3c1f;
}

.article-teaser p {
font-family: "FF Tisa", Georgia, serif;
color: #4e5860;
font-size: 16px;
margin-right: 2px;
line-height: 25.6px;
font-weight: normal;
}

.article-teaser #keep-reading {
color: #ff3c1f;
}

.article-teaser #keep-reading:after {
content:'\2192';
}

#dress {
width: 100%;
}


.sidebar {
background-color: grey;
border: 1px solid black;
}

.content {
background-color: grey;
}
File renamed without changes
123 changes: 98 additions & 25 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,39 +21,77 @@
</head>

<body>

<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="container-fluid"> <!--get full width of browser-->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">
<img src="images/logo/tnw-logo.svg" alt="" width="auto" height="100%">
</a>

<!-- Brand Logo -->
<div class="logo">
<a class="navbar-brand" href="#">
<img src="images/logo/tnw-logo.svg" alt="" width="auto" height="100%">
</a>
</div>

<!-- navbarElements -->
<ul id="text-navbar" class="nav navbar-nav navbar-left ">
<li><a href="#">Blog</a></li>
<li><a href="#">Conference</a></li>
<li><a href="#">Deals</a></li>
<li><a href="#">Pro</a></li>
</ul>
</div>
<div id="navbar" class="navbar-collapse collapse">


<!--SM & SearchBar-->

<!-- <div id="navbar" class="navbar-collapse collapse navbar-right"> -->
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Dashboard</a></li>
<li><a href="#">Settings</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Help</a></li>
<!-- Search bar -->
<form id="searchBar" class="navbar-form navbar-right" role="search">
<span class="glyphicon glyphicon-search"></span>
<input type="text" class="form-control" placeholder="Search...">
</form>
<!-- Facebook icon -->
<li class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-width="20" data-layout="button" data-action="like" data-show-faces="false" data-share="false">
<iframe class="stub" src="http://www.facebook.com/v2.0/plugins/like.php?action=like&amp;app_id=378011798897423&amp;channel=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter%2F6Dg4oLkBbYq.js%3Fversion%3D41%23cb%3Df3c0af6e3%26domain%3Dthenextweb.com%26origin%3Dhttp%253A%252F%252Fthenextweb.com%252Ff33a845d9c%26relation%3Dparent.parent&amp;container_width=20&amp;href=http%3A%2F%2Ffacebook.com%2Fthenextweb%2F&amp;layout=button&amp;locale=en_US&amp;sdk=joey&amp;share=false&amp;show_faces=true&amp;width=20"></iframe>
<!-- <a class="stub" href="https://facebook.com/thenextweb"></a> -->
</li>
<!-- Twitter icon -->
<li class="twitter" data-hoverload:"true" data-for"twitter">
<iframe id="twitter-widget" scrolling="no" frameborder="0" allowtransparency="true" src="http://platform.twitter.com/widgets/follow_button.08e6af8d36f276a2b5c6602a155e2fe3.en.html#_=1426997462862&amp;dnt=false&amp;id=twitter-widget-0&amp;lang=en&amp;screen_name=thenextweb&amp;show_count=false&amp;show_screen_name=false&amp;size=m"></iframe>
<!-- <a class="stub" href="https://twitter.com/thenextweb"></a> -->
</li>
<!-- RSS icon -->
<li class="rss">
<a href="htpp://thenextweb.co/feed?token=116910"><span class="glyphicon glyphicon-icon-rss"></span></a>
</li>
<!-- Glyphicons -->
<li><a href="#"><span class="glyphicon glyphicon-triangle-bottom"></span></a></li>
<li><a href="#"><span class="glyphicon glyphicon-user"></span></a></li>
<li><a href="#"><span class="glyphicon glyphicon-info-sign"></span></a></li>
</ul>
<form class="navbar-form navbar-right">
<input type="text" class="form-control" placeholder="Search...">
</form>
</div>
</div>
</div>
</nav>
<!-- End of NavBar -->

<div class="container-fluid">
<!-- Side bar -->
<div class="container">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
<!-- Side Bar Column Width -->
<div class="col-lg-3">
<div class="btn-group btn-group-justified" role="group" aria-label="...">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default">Latest</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default">Popular </button>
</div>
</div>

<ul class="nav nav-sidebar">
<li class="active"><a href="#">Overview <span class="sr-only">(current)</span></a></li>
<li class="active"><a href="#">Overview <span class=" sr-only">(current)</span></a></li>
<li><a href="#">Reports</a></li>
<li><a href="#">Analytics</a></li>
<li><a href="#">Export</a></li>
Expand All @@ -71,10 +109,45 @@
<li><a href="">Another nav item</a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<h1>News Content</h1>

<!-- Main Content Column Width -->
<div class="col-lg-7">
<!-- Wide Content -->
<div class="col-lg-8">
<img id="square" src="../wkendBootstrap/images/main/Square-Reader-520x245.jpg"/>
<div class="loop-post-byline">
<span class="date">By</span>
<span class="author">
<a href="#">Ben Woods</a>
</span>
<span class="date">-- 20 Nov '14</span>
</div>
<h1 class="article-title">
<a href="#">Square officially launches its Register software platform worldwde</a>
</h1>
<div class="article-teaser">
<p>Square has today announced that its point-of-sale (POS) software Square Register is now available globally, having previously been restricted to users in the US, Canada and Japan. Announced at The Financial...<a id="keep-reading" href="#">Keep reading</a></p>
</div>
</div>
<!-- Small Content Column Width -->
<div class="col-lg-4">
<img id="dress" src="../wkendBootstrap/images/main/well-dressed-man-in-coat-520x245.jpg"/>
<div class="loop-post-byline">
<span class="date">20 Nov '14 --</span>
<span class="date">By</span>
<span class="author"><a href="#">Jory Mackay</a></span>
</div>
<h2>The Weird Science of First Impressions</h2>
<img id=" Adidas" src="../wkendBootstrap/images/main/Adidas.png"/>
<div class="loop-post-byline">
<span class="date">20 Nov '14 --</span>
<span class="date">By</span>
<span class="author"><a href="#">Jory Mackay</a></span>
</div>
<h2>The Weird Science of First Impressions</h2>
</div>
</div>
</div>

</div>

<!-- Bootstrap core JavaScript
Expand Down
8 changes: 8 additions & 0 deletions js/for_thenexweb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// for Facebook Like icon
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/zh_TW/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'))