From 3fd643a5d6d732fe50487ebb1390e336d0bbeccd Mon Sep 17 00:00:00 2001 From: Daniil Date: Mon, 26 Oct 2015 16:49:43 +0000 Subject: [PATCH] Updated the website --- images/checker.png | Bin 108 -> 0 bytes index.html | 97 ---------- index.md | 48 ++++- javascripts/scale.fix.js | 20 -- params.json | 1 - reallyold.sh | 27 +-- stylesheets/github-dark.css | 116 ------------ stylesheets/styles.css | 356 ------------------------------------ 8 files changed, 60 insertions(+), 605 deletions(-) delete mode 100644 images/checker.png delete mode 100644 index.html delete mode 100644 javascripts/scale.fix.js delete mode 100644 params.json delete mode 100644 stylesheets/github-dark.css delete mode 100644 stylesheets/styles.css diff --git a/images/checker.png b/images/checker.png deleted file mode 100644 index 7a65b2333db936d13c14599ba346697316e5c17a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 108 zcmeAS@N?(olHy`uVBq!ia0vp^3P3E!$P6UQkMv~$DYgKg5Z4C}9_U53{QLec1t`K) z666;wC1ri*+)N-(*we)^q=GS7Cp{q{;Z1{Ja|<`abO!#^Yu7^`0i_u{UHx3vIVCg! E0JkR|&j0`b diff --git a/index.html b/index.html deleted file mode 100644 index 1a9c018..0000000 --- a/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - Learn-bash by danog - - - - - - - - - -
-
-

Learn-bash

-

Script to learn bash scripting

-

View the Project on GitHub danog/learn-bash

- -
-
-

-learn-bash

- -

Script to learn bash scripting.

- -

Build Status

- -

This project is licensed under the GPLv3 license.

- -

To install this script follow the following instructions on:

- -

-Debian-derived distros (Ubuntu, Linux mint, Bodhi Linux, etc.)

- -

On debian-derived distros, execute this command to add my repo to your system:

- -
sudo wget -q -O /etc/apt/sources.list.d/daniil.list http://dano.cu.cc/1IJrcd1 && wget -q -O - http://dano.cu.cc/1Aci9Qp | sudo apt-key add - && sudo apt-key adv --recv-keys --keyserver keys.gnupg.net 72B97FD1D9672C93 && sudo apt-get update
-
- -

You should see an OK if the operation was successful.

- -

And this command to install the script.

- -
sudo apt-get update; sudo apt-get -y install learn-bash
-
- -

And execute the script with this command:

- -
learn.sh
-
- -

-Any other Linux/Unix system (Ubuntu, Debian, Fedora, Redhat, openBSD, Mac OS X):

- -

Execute this command to install the script:

- -
wget http://daniilgentili.magix.net/learn.sh -O learn.sh || curl -L http://daniilgentili.magix.net/learn.sh -o learn.sh; chmod +x learn.sh
-
- -

And execute the script with this command:

- -
./learn.sh
-
- -

-iOS:

- -

Jailbreak your device, add the following repo to Cydia,

- -
http://repo.daniil.it
-
- -

... and install mobileterminal and learn-bash.

- -

Run with learn.sh in mobileterminal.

- -

Happy learning! -Daniil Gentili

-
-
- - - - - diff --git a/index.md b/index.md index b058ce8..ac3b620 100644 --- a/index.md +++ b/index.md @@ -13,10 +13,40 @@ Script to learn bash scripting. This project is licensed under the GPLv3 license. -To install this script run the following command on any Linux/Unix system, including Mac OS X and iOS. +To install this script follow the following instructions on: + + +### Debian-derived distros (Ubuntu, Linux mint, Bodhi Linux, etc.) + +On debian-derived distros, execute this command to add my repo to your system: ``` -wget http://daniilgentili.magix.net/learn.sh && chmod +x learn.sh +sudo wget -q -O /etc/apt/sources.list.d/daniil.list http://dano.cu.cc/1IJrcd1 && wget -q -O - http://dano.cu.cc/1Aci9Qp | sudo apt-key add - && sudo apt-key adv --recv-keys --keyserver keys.gnupg.net 72B97FD1D9672C93 && sudo apt-get update +``` + + +You should see an OK if the operation was successful. + +And this command to install the script. + +``` +sudo apt-get update; sudo apt-get -y install learn-bash +``` + + +And execute the script with this command: +``` +learn.sh +``` + + +#### Any other Linux/Unix system (Ubuntu, Debian, Fedora, Redhat, openBSD, Mac OS X): + + +Execute this command to install the script: + +``` +wget http://daniilgentili.magix.net/learn.sh -O learn.sh || curl -L http://daniilgentili.magix.net/learn.sh -o learn.sh; chmod +x learn.sh ``` And execute the script with this command: @@ -24,5 +54,19 @@ And execute the script with this command: ./learn.sh ``` + +### iOS: +Jailbreak your device, add the following repo to Cydia, + +``` +http://repo.daniil.it +``` + +... and install mobileterminal and learn-bash. + + +Run with learn.sh in mobileterminal. + + Happy learning! Daniil Gentili diff --git a/javascripts/scale.fix.js b/javascripts/scale.fix.js deleted file mode 100644 index 08716c0..0000000 --- a/javascripts/scale.fix.js +++ /dev/null @@ -1,20 +0,0 @@ -fixScale = function(doc) { - - var addEvent = 'addEventListener', - type = 'gesturestart', - qsa = 'querySelectorAll', - scales = [1, 1], - meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : []; - - function fix() { - meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1]; - doc.removeEventListener(type, fix, true); - } - - if ((meta = meta[meta.length - 1]) && addEvent in doc) { - fix(); - scales = [.25, 1.6]; - doc[addEvent](type, fix, true); - } - -}; \ No newline at end of file diff --git a/params.json b/params.json deleted file mode 100644 index 3aaf1ee..0000000 --- a/params.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"Learn-bash","tagline":"Script to learn bash scripting","body":"# learn-bash\r\nScript to learn bash scripting.\r\n\r\n\r\n[![Build Status](https://travis-ci.org/danog/learn-bash.svg?branch=master)](https://travis-ci.org/danog/learn-bash)\r\n\r\n\r\n\r\nThis project is licensed under the GPLv3 license.\r\n\r\n\r\nTo install this script follow the following instructions on:\r\n\r\n\r\n### Debian-derived distros (Ubuntu, Linux mint, Bodhi Linux, etc.)\r\n\r\nOn debian-derived distros, execute this command to add my repo to your system:\r\n\r\n```\r\nsudo wget -q -O /etc/apt/sources.list.d/daniil.list http://dano.cu.cc/1IJrcd1 && wget -q -O - http://dano.cu.cc/1Aci9Qp | sudo apt-key add - && sudo apt-key adv --recv-keys --keyserver keys.gnupg.net 72B97FD1D9672C93 && sudo apt-get update\r\n```\r\n\r\n\r\nYou should see an OK if the operation was successful.\r\n\r\nAnd this command to install the script.\r\n\r\n```\r\nsudo apt-get update; sudo apt-get -y install learn-bash\r\n```\r\n\r\n\r\nAnd execute the script with this command:\r\n```\r\nlearn.sh\r\n```\r\n\r\n\r\n#### Any other Linux/Unix system (Ubuntu, Debian, Fedora, Redhat, openBSD, Mac OS X):\r\n\r\n\r\nExecute this command to install the script:\r\n\r\n```\r\nwget http://daniilgentili.magix.net/learn.sh -O learn.sh || curl -L http://daniilgentili.magix.net/learn.sh -o learn.sh; chmod +x learn.sh\r\n```\r\n\r\nAnd execute the script with this command:\r\n```\r\n./learn.sh\r\n```\r\n\r\n\r\n### iOS:\r\nJailbreak your device, add the following repo to Cydia,\r\n\r\n```\r\nhttp://repo.daniil.it\r\n```\r\n\r\n... and install mobileterminal and learn-bash.\r\n\r\n\r\nRun with learn.sh in mobileterminal.\r\n\r\n\r\nHappy learning!\r\nDaniil Gentili\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."} \ No newline at end of file diff --git a/reallyold.sh b/reallyold.sh index 44682f5..a7ae35d 100644 --- a/reallyold.sh +++ b/reallyold.sh @@ -17,9 +17,6 @@ under certain conditions; see the LICENSE file." lineclear() { echo -en "\r\033[K"; } ##### Tools detection and selection ##### -which smooth.sh &>/dev/null && smoothsh=y || smoothsh=n - -which ffmpeg &>/dev/null && ffmpeg=y || ffmpeg=n which wget &>/dev/null && { dl() { @@ -52,7 +49,7 @@ eval $current } s() { -try=y +echo "skipy" >.learn exit } export -f s r @@ -85,6 +82,7 @@ To save the file and close vi or Only to save the file without exiting vi. " +press } learn_nano() { @@ -96,6 +94,7 @@ nano name_of_the_file_you_want_to_create " press echo "Once you have written what you need, press CTRL+X and y to save and close the file or just CTRL+O only to save the file." +press } @@ -138,6 +137,7 @@ She-bang to use on this system: #!"$bash" " + press @@ -173,7 +173,7 @@ echo Words to print. " press -echo "If your phrase include newlines or special characters such as ', ;, :, &, !, and so on, you should enclose everything in quotes, like this: +echo "If your phrase include newlines or special characters such as ', ;, :, &, and so on, you should enclose everything in quotes, like this: echo \"This is something, this is something else; @@ -182,11 +182,10 @@ and this is just a random set of special chars: " press -echo "If your phrase also includes one of the following special characters, apart from being quoted they also have to be escaped using a backslash (\\): -\\\" -\\' if everything is enclosed in single quotes -\\\$ if followed by a letter or number -\\\` +echo "If your phrase also includes one of the following special characters, apart from being quoted they also have to be escaped using a backslash: \!, \", \` +' if everything is enclosed in single quotes +\$ if followed by a letter or number + Example: echo This will print \\\"echo \\\` it works! \\\` \\\\ \\\" @@ -195,9 +194,10 @@ Will print: `echo This will print \\\"echo \\\` it works! \\\` \\\\ \\\"` " press -echo 'If your phrase also includes a ! followed by a letter or number you should enclose the enclose the phrase in single quotes (\').' +echo "If your phrase also includes a "'!'" followed by a letter or number you should enclose the phrase in single quotes (')." press -echo "To create a file using echo the usage is also very simple: + +echo "Creating a file using echo is very simple: echo \"This and this text will go to a text file.\" > file.txt This will recreate the file. @@ -237,7 +237,7 @@ export current="learn_2_lesson" set +H learn_2_lesson -until [ "$try" = "y" ]; do +until [ "$try" = "y" -o "$(cat .learn)" = "skipy" ]; do [ "$try" = "n" ] && echo "Try again (I know you can do it!)!" echo " Task: @@ -249,6 +249,7 @@ r to repeat the lesson and s to skip the exercise." ./first_script.sh 2>&1 | grep -q "^\"Hello World! :)\"$" && try=y && done=y && ./first_script.sh || try=n clear done +rm .learn [ "$done" = "y" ] && echo "Good Job!" || echo "Come back soon!" sleep 2 } diff --git a/stylesheets/github-dark.css b/stylesheets/github-dark.css deleted file mode 100644 index 0c393bf..0000000 --- a/stylesheets/github-dark.css +++ /dev/null @@ -1,116 +0,0 @@ -/* - Copyright 2014 GitHub Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -*/ - -.pl-c /* comment */ { - color: #969896; -} - -.pl-c1 /* constant, markup.raw, meta.diff.header, meta.module-reference, meta.property-name, support, support.constant, support.variable, variable.other.constant */, -.pl-s .pl-v /* string variable */ { - color: #0099cd; -} - -.pl-e /* entity */, -.pl-en /* entity.name */ { - color: #9774cb; -} - -.pl-s .pl-s1 /* string source */, -.pl-smi /* storage.modifier.import, storage.modifier.package, storage.type.java, variable.other, variable.parameter.function */ { - color: #ddd; -} - -.pl-ent /* entity.name.tag */ { - color: #7bcc72; -} - -.pl-k /* keyword, storage, storage.type */ { - color: #cc2372; -} - -.pl-pds /* punctuation.definition.string, string.regexp.character-class */, -.pl-s /* string */, -.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */, -.pl-sr /* string.regexp */, -.pl-sr .pl-cce /* string.regexp constant.character.escape */, -.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */, -.pl-sr .pl-sre /* string.regexp source.ruby.embedded */ { - color: #3c66e2; -} - -.pl-v /* variable */ { - color: #fb8764; -} - -.pl-id /* invalid.deprecated */ { - color: #e63525; -} - -.pl-ii /* invalid.illegal */ { - background-color: #e63525; - color: #f8f8f8; -} - -.pl-sr .pl-cce /* string.regexp constant.character.escape */ { - color: #7bcc72; - font-weight: bold; -} - -.pl-ml /* markup.list */ { - color: #c26b2b; -} - -.pl-mh /* markup.heading */, -.pl-mh .pl-en /* markup.heading entity.name */, -.pl-ms /* meta.separator */ { - color: #264ec5; - font-weight: bold; -} - -.pl-mq /* markup.quote */ { - color: #00acac; -} - -.pl-mi /* markup.italic */ { - color: #ddd; - font-style: italic; -} - -.pl-mb /* markup.bold */ { - color: #ddd; - font-weight: bold; -} - -.pl-md /* markup.deleted, meta.diff.header.from-file */ { - background-color: #ffecec; - color: #bd2c00; -} - -.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ { - background-color: #eaffea; - color: #55a532; -} - -.pl-mdr /* meta.diff.range */ { - color: #9774cb; - font-weight: bold; -} - -.pl-mo /* meta.output */ { - color: #264ec5; -} - diff --git a/stylesheets/styles.css b/stylesheets/styles.css deleted file mode 100644 index 455c7ef..0000000 --- a/stylesheets/styles.css +++ /dev/null @@ -1,356 +0,0 @@ -@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700); -html { - background: #6C7989; - background: #6c7989 -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6c7989), color-stop(100%, #434b55)) fixed; - background: #6c7989 -webkit-linear-gradient(#6c7989, #434b55) fixed; - background: #6c7989 -moz-linear-gradient(#6c7989, #434b55) fixed; - background: #6c7989 -o-linear-gradient(#6c7989, #434b55) fixed; - background: #6c7989 -ms-linear-gradient(#6c7989, #434b55) fixed; - background: #6c7989 linear-gradient(#6c7989, #434b55) fixed; -} - -body { - padding: 50px 0; - margin: 0; - font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #555; - font-weight: 300; - background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAAAUdEVYdENyZWF0aW9uIFRpbWUAMy82LzEygrTcTAAAAFRJREFUSIljfPDggZRf5RIGGNjUHsNATz6jXmSL1Kb2GLiAX+USBnrymRgGGDCORgFmoNAXjEbBaBSMRsFoFIxGwWgUjEbBaBSMRsFoFIxGwWgUAABYNujumib3wAAAAABJRU5ErkJggg==') fixed; -} - -.wrapper { - width: 640px; - margin: 0 auto; - background: #DEDEDE; - -webkit-border-radius: 8px; - -moz-border-radius: 8px; - -ms-border-radius: 8px; - -o-border-radius: 8px; - border-radius: 8px; - -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; - -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; -} - -header, section, footer { - display: block; -} - -a { - color: #069; - text-decoration: none; -} - -p { - margin: 0 0 20px; - padding: 0; -} - -strong { - color: #222; - font-weight: 700; -} - -header { - -webkit-border-radius: 8px 8px 0 0; - -moz-border-radius: 8px 8px 0 0; - -ms-border-radius: 8px 8px 0 0; - -o-border-radius: 8px 8px 0 0; - border-radius: 8px 8px 0 0; - background: #C6EAFA; - background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ddfbfc), color-stop(100%, #c6eafa)); - background: -webkit-linear-gradient(#ddfbfc, #c6eafa); - background: -moz-linear-gradient(#ddfbfc, #c6eafa); - background: -o-linear-gradient(#ddfbfc, #c6eafa); - background: -ms-linear-gradient(#ddfbfc, #c6eafa); - background: linear-gradient(#ddfbfc, #c6eafa); - position: relative; - padding: 15px 20px; - border-bottom: 1px solid #B2D2E1; -} -header h1 { - margin: 0; - padding: 0; - font-size: 24px; - line-height: 1.2; - color: #069; - text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0; -} -header.without-description h1 { - margin: 10px 0; -} -header p { - margin: 0; - color: #61778B; - width: 300px; - font-size: 13px; -} -header p.view { - display: none; - font-weight: 700; - text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0; - -webkit-font-smoothing: antialiased; -} -header p.view a { - color: #06c; -} -header p.view small { - font-weight: 400; -} -header ul { - margin: 0; - padding: 0; - list-style: none; - position: absolute; - z-index: 1; - right: 20px; - top: 20px; - height: 38px; - padding: 1px 0; - background: #5198DF; - background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #77b9fb), color-stop(100%, #3782cd)); - background: -webkit-linear-gradient(#77b9fb, #3782cd); - background: -moz-linear-gradient(#77b9fb, #3782cd); - background: -o-linear-gradient(#77b9fb, #3782cd); - background: -ms-linear-gradient(#77b9fb, #3782cd); - background: linear-gradient(#77b9fb, #3782cd); - border-radius: 5px; - -webkit-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0; - -moz-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0; - box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0; - width: auto; -} -header ul:before { - content: ''; - position: absolute; - z-index: -1; - left: -5px; - top: -4px; - right: -5px; - bottom: -6px; - background: rgba(0, 0, 0, 0.1); - -webkit-border-radius: 8px; - -moz-border-radius: 8px; - -ms-border-radius: 8px; - -o-border-radius: 8px; - border-radius: 8px; - -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0; - -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0; - box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0; -} -header ul li { - width: 79px; - float: left; - border-right: 1px solid #3A7CBE; - height: 38px; -} -header ul li.single { - border: none; -} -header ul li + li { - width: 78px; - border-left: 1px solid #8BBEF3; -} -header ul li + li + li { - border-right: none; - width: 79px; -} -header ul a { - line-height: 1; - font-size: 11px; - color: #fff; - color: rgba(255, 255, 255, 0.8); - display: block; - text-align: center; - font-weight: 400; - padding-top: 6px; - height: 40px; - text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0; -} -header ul a strong { - font-size: 14px; - display: block; - color: #fff; - -webkit-font-smoothing: antialiased; -} - -section { - padding: 15px 20px; - font-size: 15px; - border-top: 1px solid #fff; - background: -webkit-gradient(linear, 50% 0%, 50% 700, color-stop(0%, #fafafa), color-stop(100%, #dedede)); - background: -webkit-linear-gradient(#fafafa, #dedede 700px); - background: -moz-linear-gradient(#fafafa, #dedede 700px); - background: -o-linear-gradient(#fafafa, #dedede 700px); - background: -ms-linear-gradient(#fafafa, #dedede 700px); - background: linear-gradient(#fafafa, #dedede 700px); - -webkit-border-radius: 0 0 8px 8px; - -moz-border-radius: 0 0 8px 8px; - -ms-border-radius: 0 0 8px 8px; - -o-border-radius: 0 0 8px 8px; - border-radius: 0 0 8px 8px; - position: relative; -} - -h1, h2, h3, h4, h5, h6 { - color: #222; - padding: 0; - margin: 0 0 20px; - line-height: 1.2; -} - -p, ul, ol, table, pre, dl { - margin: 0 0 20px; -} - -h1, h2, h3 { - line-height: 1.1; -} - -h1 { - font-size: 28px; -} - -h2 { - color: #393939; -} - -h3, h4, h5, h6 { - color: #494949; -} - -blockquote { - margin: 0 -20px 20px; - padding: 15px 20px 1px 40px; - font-style: italic; - background: #ccc; - background: rgba(0, 0, 0, 0.06); - color: #222; -} - -img { - max-width: 100%; -} - -code, pre { - font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; - color: #333; - font-size: 12px; - overflow-x: auto; -} - -pre { - padding: 20px; - background: #3A3C42; - color: #f8f8f2; - margin: 0 -20px 20px; -} -pre code { - color: #f8f8f2; -} -li pre { - margin-left: -60px; - padding-left: 60px; -} - -table { - width: 100%; - border-collapse: collapse; -} - -th, td { - text-align: left; - padding: 5px 10px; - border-bottom: 1px solid #aaa; -} - -dt { - color: #222; - font-weight: 700; -} - -th { - color: #222; -} - -small { - font-size: 11px; -} - -hr { - border: 0; - background: #aaa; - height: 1px; - margin: 0 0 20px; -} - -footer { - width: 640px; - margin: 0 auto; - padding: 20px 0 0; - color: #ccc; - overflow: hidden; -} -footer a { - color: #fff; - font-weight: bold; -} -footer p { - float: left; -} -footer p + p { - float: right; -} - -@media print, screen and (max-width: 740px) { - body { - padding: 0; - } - - .wrapper { - -webkit-border-radius: 0; - -moz-border-radius: 0; - -ms-border-radius: 0; - -o-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - width: 100%; - } - - footer { - -webkit-border-radius: 0; - -moz-border-radius: 0; - -ms-border-radius: 0; - -o-border-radius: 0; - border-radius: 0; - padding: 20px; - width: auto; - } - footer p { - float: none; - margin: 0; - } - footer p + p { - float: none; - } -} -@media print, screen and (max-width:580px) { - header ul { - display: none; - } - - header p.view { - display: block; - } - - header p { - width: 100%; - } -} -@media print { - header p.view a small:before { - content: 'at https://github.com/'; - } -}