diff --git a/_layouts/default.html b/_layouts/default.html index 5421180..caeea12 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -49,7 +49,7 @@ If you want to see more interesting projects, visit my website: https://federico {% endunless %} {% unless page.hideTitle or layout.hideTitle %} -

{{page.title}}

+

{{page.title}}

{% endunless %} {{ content }} diff --git a/_sass/_default.scss b/_sass/_default.scss index 7d22818..ac51303 100644 --- a/_sass/_default.scss +++ b/_sass/_default.scss @@ -23,13 +23,31 @@ h1, h2, h3, h4 { img { display: block; margin: auto; - max-width: 100%; + max-width: 800px; height: auto; + + @media screen and (max-width: $screen-tablet) { + max-width: 100%; + } } h2, h3, h4 { margin: 30px 0 20px 0; } + + .mybtn { + font-weight: 700; + font-size: 1.2em; + background-color: $mainColor; + color: white !important; + padding: 10px 25px 10px 25px; + border-radius: 40px; + border: 0; + + @media screen and (max-width: $screen-tablet) { + font-size: 1.3em; + } + } } .light-text { diff --git a/install/linux.md b/install/linux.md new file mode 100644 index 0000000..40a562b --- /dev/null +++ b/install/linux.md @@ -0,0 +1,48 @@ +--- +title: Install on Linux +layout: default +--- +The linux installation depends on the distro you are using. +Espanso has been tested in the following distros, but you shouldn't +have many problems making it work on others. + +* [Ubuntu/Debian](#installing-on-ubuntu--debian) +* [Manjaro/Arch](#installing-on-manjaro--arch) +* [Others](#installing-on-other-distros) + +#### Installing on Ubuntu / Debian + +Espanso depends upon the `X11 Record Extension`, the `XDO library` and the `xclip` command, +so you will need to install those first with the following command: + +``` +sudo apt update +sudo apt install libxtst6 libxdo3 xclip +``` + +You can now download the latest espanso release: +``` +curl https://github.com/federico-terzi/espanso/releases/latest/download/espanso-linux.tar.gz | tar -xz -C /tmp/ +``` + +And then move it to the `/usr/local/bin/` directory + +``` +sudo mv /tmp/espanso /usr/local/bin/espanso +``` + +You should now have espanso installed in your system. To start it, type the following command: + +``` +espanso start +``` + +If you now type `:espanso` in any text field, you should see "Hi there!" appear! + +#### Installing on Manjaro / Arch + +TODO + +#### Installing on Other Distros + +TODO \ No newline at end of file diff --git a/install/win.md b/install/win.md new file mode 100644 index 0000000..ca4bfdd --- /dev/null +++ b/install/win.md @@ -0,0 +1,22 @@ +--- +title: Install on Windows +layout: default +--- +The installation on Windows is straightforward, download the installer by +clicking on the button below and follow the instructions. + +
+Download the Installer +
+ +#### Problems you may experience + +Because espanso is not digitally signed, you may experience a warning from +Windows Smartscreen. In this case, just click on "More info" (1) and then +on "Run anyway" (2), as shown in the picture: + +![Windows Smartscreen](/assets/images/windows-smartscreen.png) + +If you completed the installation procedure, you should have espanso running. +A good way to find out is by going on any text field and typing `:espanso`. +You should see "Hi there!" appear. \ No newline at end of file