Merge pull request #11 from olinpin/cssgrid

Cssgrid
This commit is contained in:
2022-11-02 13:56:07 +01:00
committed by GitHub
6 changed files with 34 additions and 11 deletions

View File

Binary file not shown.

View File

@@ -90,7 +90,7 @@
</div>
</div>
<div class="centercol column">
<span class="colheader">Filtered Cluccs</span>
<h1 class="colheader">FILTERED CLUCCS</h1>
</div>
<div class="rightcol column">
<div class="searchcontainer column">
@@ -104,6 +104,19 @@
</div>
</div>
</div>
-->
<div class = "maintable">
<div class = "leftcol">
<h1 class = 'colheader'>LATEST CLUCCS</h1>
</div>
<div class="centercol">
<h1 class = 'colheader'>FILTERED CLUCCS</h1>
</div>
<div class = "searchbar"></div>
<div class = "popchart">
<h1 class = 'colheader'>SPORTS POPULARITY CHART</h1>
</div>
</div>
</div>
</div>
<script src="/lib/jquery-2.1.1.min.js"></script>

View File

@@ -50,11 +50,11 @@ function tweetCell(tweet) {
var cell = document.createElement("div");
cell.innerHTML =
`<div class="tweet">
<img src="${tweet.user.profile_image_url}" alt="" class="tweet-profilepicture">
<a href ="https://www.twitter.com/${tweet.user.screen_name}"><img src="${tweet.user.profile_image_url}" alt="" class="tweet-profilepicture"></a>
<div class="tweet-content">
<div class="tweet-name">
<span class="tweet-nickname">${tweet.user.name}</span>
<span class="tweet-username">@${tweet.user.screen_name}</span>
<a class="tweet-nickname" href = "https://www.twitter.com/${tweet.user.screen_name}" target = "_blank">${tweet.user.name}</a>
<a class="tweet-username" href = "https://www.twitter.com/${tweet.user.screen_name}" target = "_blank">@${tweet.user.screen_name}</a>
</div>
<span class="tweet-text">${tweet.text}</span>
<div class="tweet-interactions">

View File

@@ -122,10 +122,20 @@ body {
}
.tweet-nickname {
color: white;
text-decoration: none;
font-weight: bold;
}
.tweet-nickname:active {
color: white;
text-decoration: underline;
font-weight: bold;
}
.tweet-username {
color: white;
text-decoration: none;
opacity: 0.8;
}

View File

Binary file not shown.

View File

Binary file not shown.