Instagram 6 photos per row

Makes Instagram use its space better by filling the screen with 6 pictures per row instead of 3 on profile pages.

目前為 2021-07-21 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

/* ==UserStyle==
@name           Instagram 6 photos per row
@namespace      legosavant
@version        1.0.0
@description    Makes Instagram use its space better by filling the screen with 6 pictures per row instead of 3 on profile pages.
@author         legosavant
==/UserStyle== */

@-moz-document domain("instagram.com") {
.Nnq7C {
    display:inline-flex
}
.ySN3v > div > div, ._2z6nI > article > div > div {
    display:block
}
._bz0w { /*huge spacing is stupid*/
    margin-right:14px
}
.weEfm { 
    margin-bottom:14px
}
.Nnq7C:nth-child(odd) {
        margin-right:14px
}
@media (min-width:0px) {

.Nnq7C>* { /*width of images*/
    width:101px!important;
    flex:none
}
}
@media (min-width:850px) {
.v9tJq {
    max-width:790px /*width of main profile page*/
}
.Nnq7C>* { /*width of images*/
    width:120px!important;
    flex:none
}
}
@media (min-width:1150px) {
.v9tJq {
    max-width:1090px /*width of main profile page*/
}
.Nnq7C>* { /*width of images*/
    width:170px!important;
    flex:none
}
}
@media (min-width:1366px) {
.v9tJq {
    max-width:1330px /*width of main profile page*/
}
.Nnq7C>* { /*width of images*/
    width:210px!important;
    flex:none
}
}
@media (min-width:1750px) {
.v9tJq {
    max-width:1690px /*width of main profile page*/
}
.Nnq7C>* { /*width of images*/
    width:270px!important;
    flex:none
}
}

@media (min-width:1919px) {
.v9tJq {
    max-width:1846px /*width of main profile page*/
}
.Nnq7C>* { /*width of images*/
    width:296px!important;
    flex:none
}
}
}