Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jacobsun/hugo-theme-cole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/base.less')
-rw-r--r--src/css/base.less33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/css/base.less b/src/css/base.less
new file mode 100644
index 0000000..acab756
--- /dev/null
+++ b/src/css/base.less
@@ -0,0 +1,33 @@
+@charset "UTF-8";
+
+html {
+ font-size: calc(1vh + 1vw)
+}
+
+body {
+ margin : 0;
+ font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
+}
+
+img {
+ height : auto;
+ width : 100%;
+ max-width: 40vw;
+}
+
+.no-break {
+ overflow : hidden;
+ text-overflow: ellipsis;
+ white-space : nowrap;
+}
+
+.control {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+
+.btn {
+ cursor: pointer;
+ text-decoration: none;
+}