xref: /template/writr/css/plugins/nspages.less (revision 8598c0d523802a92a85a92628299f7f773043eef)
1/* =NS Pages Plugin
2----------------------------------------------- */
3
4.dokuwiki {
5
6  .nspagesPicturesModeMain {
7
8    a {
9      border-radius: 20px;
10      border-color: @ini_text_alt;
11      transition: all 0.5s ease;
12      max-width: none;
13      margin: 0px;
14      padding: 8px;
15      width: 33.33%;
16      background-color: transparent;
17      height: 250px;
18
19      .nspagesPicturesModeImg {
20        border-radius: 20px;
21        border-width: 4px !important;
22        border-color: @ini_text_alt;
23        border: 4px solid @ini_text_alt;
24        height: 100%;
25        transition: inherit;
26
27        .nspagesPicturesModeTitle {
28          background-color: @ini_text_alt;
29          color: @ini_background;
30          padding: 4px 16px;
31          border-top-right-radius: 16px;
32          border-bottom-right-radius: 16px;
33          transition: inherit;
34        }
35      }
36    }
37    a:hover {
38      background-color: transparent;
39
40      .nspagesPicturesModeImg {
41        border-color: @ini_theme_color;
42
43        .nspagesPicturesModeTitle {
44          background-color: @ini_theme_color;
45        }
46      }
47    }
48  }
49}
50
51/* 960px > x */
52@media only screen and (max-width: 959px) {
53    .dokuwiki {
54        .nspagesPicturesModeMain {
55            a {
56                width: 100%;
57            }
58        }
59    }
60}
61