Skip to content

Commit

Permalink
0.7 - Settings, Styler, Internal notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed Mar 11, 2017
1 parent 0b216ee commit 4a70b22
Show file tree
Hide file tree
Showing 12 changed files with 425 additions and 30 deletions.
10 changes: 6 additions & 4 deletions chall.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

<link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link id="styleSheet" href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<!-- Highlight.js Color Scheme -->
<link href="css/hl_default.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link id="hl_styleSheet" href="css/hl_default.css" type="text/css" rel="stylesheet" media="screen,projection"/>



Expand All @@ -45,10 +45,11 @@
</div>


<div id="problem" class="col s12">
<div id="problem" class="text col s12">
</div>

<div id="solution" class="col s12">
<div id="solution" class="text col s12">
<br>
</div>


Expand All @@ -58,6 +59,7 @@
<script src="js/highlight.pack.js"></script>
<script src="js/jquery.js"></script>
<script src="js/materialize.js"></script>
<script src="js/styler.js"></script>
<script src="js/init.js"></script>
<script src="js/chall.js"></script>
<script src="js/analytics.js"></script>
Expand Down
27 changes: 21 additions & 6 deletions credits.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link id="styleSheet" href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>

</head>

<body>
<div class="navbar-fixed">
<nav class="grey lighten-1">
<div class="nav-wrapper">
<a href="#!" id="title" class="brand-logo black-text" style=" font-weight: 300; font-size: 1.5rem;"> About </a>
<a href="#!" style="font-size: 1.7em; font-weight: 300;" class="black-text brand-logo">About</a>
<a href="index.html" class="black-text"><i style="font-size: 32px" class="material-icons">&nbsp;&nbsp;chevron_left</i></a>
</div>
</nav>
</div>


<div class="row">
<div class="col s12">
<div class="text col s12">
<br>
<img src="assets/2.jpg" width="128px" height="128px">
<br>
Expand All @@ -41,9 +41,23 @@ <h3>Credits </h3>
Developed by <a href="http://avivace.ovh" target="_blank">Antonio Vivace</a>, 2016 - 2017. All rights reserved. <br>
The challenges (and the solutions) are from the <a href="http://www.reddit.com/r/dailyprogrammer" target="_blank">/r/dailyprogrammer</a> subreddit. The icon was designed by Davide Maniaci.
<br>
<code> APK_v1.1 RELEASE - WebApp_v0.6 BETA </code>
<h4> Open Source Licences </h4>
This app is possible thanks to the following software: materializecss, highlight.js, jQuery, reddit API. The complete list of licences is available here.
<code> APK_v1.1 RELEASE - WebApp_v0.7 BETA </code>
<h4> Third Party Licenses </h4>
This app is possible thanks to the following fantastic software: materializecss, highlight.js, jQuery, reddit API, Google Material Icons, Font Awesome.
<br>The complete list of licenses is available <a>here</a>.
<h4> Changelog </h4>
<h5> Web App </h5>
<b>0.7 - 3/11/2017 </b> Added the <i>Settings</i> page and a dark theme global theme. Added internal notifications for updates.
<br>
<b>0.6 - 3/10/2017 </b> Added <i>See More</i> feature (and animation). Scroll down to the bottom to see more. Added the changelog in Credits page.
<br>
<b>0.5 - 1/1/2017 </b> Added <i>Solutions</i>. Tuned up the style of titles and padding on challenges page.
<br>
<b>0.4 - 5/11/2016 </b> Added <i>Sorting</i> for difficulty (tabs). Clicking anywhere on the card now opens the challenge.
<h5> APK</h5>
<b>1.0 - 1/1/2017</b> Scroll to refresh, opens some links out of the app.
<br>
<b>1.0 - 1/9/2016</b> Initial Release.

</div>
</div>
Expand All @@ -52,6 +66,7 @@ <h4> Open Source Licences </h4>
<script src="js/jquery.js"></script>
<script src="js/materialize.js"></script>
<script src="js/init.js"></script>
<script src="js/styler.js"></script>
<script src="js/analytics.js"></script>

</body>
Expand Down
112 changes: 112 additions & 0 deletions css/dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
.icon-block {
padding: 0 15px;
}
.icon-block .material-icons {
font-size: inherit;
}
body {
background-color: #222222;
}
code,
kbd,
pre,
samp {
font-family: Hack, "Hack", monospace, monospace;
font-size: 1em;
background-color:#424242;
border:0px solid #dadada;
border-radius:2px;
color: white;
}

.card-panel {
transition: box-shadow .25s;
padding: 20px;
margin: 0.5rem 0 1rem 0;
border-radius: 2px;
background-color: #fff;
}

.card .card-content .card-title {
line-height: 90%;
}

h1 {
font-size: 2.0rem;
line-height: 110%;
margin: 2.1rem 0 1.68rem 0;
}

h2 {
display: inline;
font-size: 1.7rem;
line-height: 110%;
margin: 1.78rem 0 1.424rem 0;
}

h3 {
font-size: 1.5rem;
line-height: 110%;
margin: 1.46rem 0 1.168rem 0;
}

h4 {
font-size: 1.3rem;
line-height: 110%;
margin: 1.14rem 0 0.912rem 0;
}

h5 {
font-size: 1.1rem;
line-height: 110%;
margin: 0.82rem 0 0.656rem 0;
}

h6 {
font-size: 1rem;
line-height: 110%;
margin: 0.5rem 0 0.4rem 0;
}

.grey.lighten-1 {
background-color: #212121 !important;
}

.black-text {
color: #FFFFFF !important;
}

.text {
color: #FFFFFF;
}

.tabs {
position: relative;
overflow-x: auto;
overflow-y: hidden;
height: 48px;
width: 100%;
background-color: #000;
margin: 0 auto;
white-space: nowrap;
font-weight: bold;
}

.loading {
color: white;
}

.side-nav {
background-color: black;
color: white;
}

.sidebar-icons {
font-size: 36px;
position: relative;
left: 20px;
}

li span {
position: relative; left: -10px;
}
83 changes: 83 additions & 0 deletions css/monokai-sublime.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
/*
Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/
*/

.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #23241f;
}

.hljs,
.hljs-tag,
.hljs-subst {
color: #f8f8f2;
}

.hljs-strong,
.hljs-emphasis {
color: #a8a8a2;
}

.hljs-bullet,
.hljs-quote,
.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-link {
color: #ae81ff;
}

.hljs-code,
.hljs-title,
.hljs-section,
.hljs-selector-class {
color: #a6e22e;
}

.hljs-strong {
font-weight: bold;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-name,
.hljs-attr {
color: #f92672;
}

.hljs-symbol,
.hljs-attribute {
color: #66d9ef;
}

.hljs-params,
.hljs-class .hljs-title {
color: #f8f8f2;
}

.hljs-string,
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-variable {
color: #e6db74;
}

.hljs-comment,
.hljs-deletion,
.hljs-meta {
color: #75715e;
}
70 changes: 70 additions & 0 deletions css/monokai.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/*
Monokai style - ported by Luigi Maselli - http://grigio.org
*/

.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #272822; color: #ddd;
}

.hljs-tag,
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-strong,
.hljs-name {
color: #f92672;
}

.hljs-code {
color: #66d9ef;
}

.hljs-class .hljs-title {
color: white;
}

.hljs-attribute,
.hljs-symbol,
.hljs-regexp,
.hljs-link {
color: #bf79db;
}

.hljs-string,
.hljs-bullet,
.hljs-subst,
.hljs-title,
.hljs-section,
.hljs-emphasis,
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
color: #a6e22e;
}

.hljs-comment,
.hljs-quote,
.hljs-deletion,
.hljs-meta {
color: #75715e;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-doctag,
.hljs-title,
.hljs-section,
.hljs-type,
.hljs-selector-id {
font-weight: bold;
}
14 changes: 13 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
.icon-block .material-icons {
font-size: inherit;
}

body {
background-color: #f5f5f5;
}
code,
kbd,
pre,
Expand Down Expand Up @@ -62,4 +64,14 @@ h6 {
font-size: 1rem;
line-height: 110%;
margin: 0.5rem 0 0.4rem 0;
}

.tabs {
font-weight: bold;
}

.sidebar-icons {
font-size: 36px;
position: relative;
left: 20px;
}
Loading

0 comments on commit 4a70b22

Please sign in to comment.